java.lang.Object | |
↳ | com.esri.core.tasks.ags.geoprocessing.GPServiceInfo |
This class provides information on a geoprocessing service at a given url. Information includes:
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GPServiceInfo() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static GPServiceInfo |
fromJson(JsonParser parser)
Create a
GPServiceInfo instance from the json contained in the given JsonParser object. | ||||||||||
static GPServiceInfo |
fromUrl(String url, UserCredentials credentials)
Create a
GPServiceInfo instance for the service at the given url. | ||||||||||
static GPServiceInfo |
fromUrl(String url)
Create a
GPServiceInfo instance for the service at the given url. | ||||||||||
String |
getCurrentVersion()
Gets the current server version.
| ||||||||||
GPTaskInfo.ExecutionType |
getExecutionType()
Gets the execution type, either synchronous or asynchronous.
| ||||||||||
int |
getMaximumRecords()
Gets the maximum records returned by the service.
| ||||||||||
String |
getResultMapServerName()
Gets the result map server name, if any.
| ||||||||||
String |
getServiceDescription()
Gets the service description.
| ||||||||||
String[] |
getTasks()
Gets the names of the tasks defined by the service.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a GPServiceInfo
instance from the json contained in the given JsonParser object.
parser | the parser |
---|
Exception | the exception |
---|
Create a GPServiceInfo
instance for the service at the given url. Login credentials are provided by
the credentials
parameter. This method will query the service and return the service information.
url | the url of the service |
---|---|
credentials | the credentials required to access the service |
Exception | the exception |
---|
Create a GPServiceInfo
instance for the service at the given url. This method will query the service
and return the service information.
url | the url of the service |
---|
Exception | the exception |
---|
Gets the execution type, either synchronous or asynchronous.
Gets the maximum records returned by the service.
Gets the result map server name, if any.
Gets the service description.