|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.tasks.ags.geoprocessing.GPServiceInfo
public class GPServiceInfo
This class provides information on a geoprocessing service at a given url. Information includes:
Constructor Summary | |
---|---|
GPServiceInfo()
|
Method Summary | |
---|---|
static GPServiceInfo |
fromJson(org.codehaus.jackson.JsonParser parser)
Create a GPServiceInfo instance from the json contained in the given JsonParser object. |
static GPServiceInfo |
fromUrl(String url)
Create a GPServiceInfo instance for the service at the given url. |
static GPServiceInfo |
fromUrl(String url,
UserCredentials credentials)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPServiceInfo()
Method Detail |
---|
public static GPServiceInfo fromUrl(String url) throws Exception
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 exceptionpublic static GPServiceInfo fromUrl(String url, UserCredentials credentials) throws Exception
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 servicecredentials
- the credentials required to access the service
Exception
- the exceptionpublic static GPServiceInfo fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
GPServiceInfo
instance from the json contained in the given JsonParser object.
parser
- the parser
Exception
- the exceptionpublic String[] getTasks()
public GPTaskInfo.ExecutionType getExecutionType()
public String getResultMapServerName()
public int getMaximumRecords()
public String getServiceDescription()
public String getCurrentVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |