java.lang.Object | |
↳ | com.esri.core.tasks.ags.geoprocessing.GPTaskInfo |
This class provides information on a geoprocessing task at a given url. Information includes:
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | GPTaskInfo.ExecutionType | The Enum ExecutionType. | |||||||||
class | GPTaskInfo.GPParameterInfo | This class provides information on a single parameter of a geoprocessing
task.Information includes:
|
|||||||||
enum | GPTaskInfo.ParamDirection | The Enum ParamDirection. | |||||||||
enum | GPTaskInfo.ParamType | The Enum ParamType. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GPTaskInfo() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static GPTaskInfo |
fromJson(JsonParser parser)
Create a
GPTaskInfo instance from the json contained in
the given JsonParser object. | ||||||||||
static GPTaskInfo |
fromUrl(String url, UserCredentials credentials)
Create a
GPTaskInfo instance for the task at the given
url. | ||||||||||
static GPTaskInfo |
fromUrl(String url)
Create a
GPTaskInfo instance for the task at the given url. | ||||||||||
String |
getCategory()
Gets the category.
| ||||||||||
String |
getDisplayName()
Gets the display name.
| ||||||||||
GPTaskInfo.ExecutionType |
getExecutionType()
Gets the execution type.
| ||||||||||
String |
getHelpUrl()
Gets the help url.
| ||||||||||
String |
getName()
Gets the name.
| ||||||||||
GPParameterInfo[] |
getParameters()
Gets the parameters.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
setCategory(String category)
Sets the category.
| ||||||||||
void |
setDisplayName(String displayName)
Sets the display name.
| ||||||||||
void |
setExecutionType(GPTaskInfo.ExecutionType execType)
Sets the execution type.
| ||||||||||
void |
setHelpUrl(String helpUrl)
Sets the help url.
| ||||||||||
void |
setName(String name)
Sets the name.
| ||||||||||
void |
setParameters(GPParameterInfo[] parameterInfo)
Sets the parameters.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a GPTaskInfo
instance from the json contained in
the given JsonParser object.
parser | the parser |
---|
Exception | |
Exception |
Create a GPTaskInfo
instance for the task 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 task |
---|---|
credentials | the credentials required to access the service |
Exception | |
Exception |
Create a GPTaskInfo
instance for the task at the given url.
This method will query the service and return the task information.
url | the url of the task |
---|
Exception | |
Exception |
Gets the execution type.
Sets the category.
category | the new category |
---|
Sets the display name.
displayName | the new display name |
---|
Sets the execution type.
execType | the new execution type |
---|
Sets the parameters.
parameterInfo | the new parameters |
---|