|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPServer
Provides access to the properties/methods of the geoprocessing server.
Method Summary | |
---|---|
void |
cancelJob(String jobID)
Cancels the specified job. |
IGPResult |
execute(String toolName,
IGPValues values,
IGPResultOptions pOptions)
Executes the specified tool with the supplied values and options and returns the results. |
int |
getExecutionType()
Indicates if the geoprocessing server is synchronous or asynchronous. |
IJobMessages |
getJobMessages(String jobID)
Returns the messages of the specified job. |
IGPResult |
getJobResult(String jobID,
IStringArray parameterNames,
IGPResultOptions pOptions)
Returns the results of the specified job. |
int |
getJobStatus(String jobID)
Returns the status of the specified job. |
String |
getResultMapServerName()
Indicates if there is an associated map server to draw the results and the name of the map server. |
IGDSData |
getResultWorkspace(String jobID,
int transportType)
Returns a zip file of the results workspace. |
IGPToolInfos |
getTaskInfos()
Returns the tool information of the available tasks. |
IStringArray |
getTaskNames()
Returns the names of the available tasks. |
IGPToolInfo |
getToolInfo(String toolName)
Returns the tool information of the specified tool name. |
IGPToolInfos |
getToolInfos()
Returns the tool information of the available tools. |
IStringArray |
getToolNames()
Returns the names of the available tools. |
String |
submitJob(String toolName,
IGPValues values)
Submits the specified tool with the supplied values and options and returns the job id. |
Method Detail |
---|
IStringArray getToolNames() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPToolInfos getToolInfos() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPToolInfo getToolInfo(String toolName) throws IOException, AutomationException
toolName
- The toolName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IStringArray getTaskNames() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPToolInfos getTaskInfos() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getResultMapServerName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPResult execute(String toolName, IGPValues values, IGPResultOptions pOptions) throws IOException, AutomationException
toolName
- The toolName (in)values
- A reference to a com.esri.arcgis.geoprocessing.IGPValues (in)pOptions
- A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String submitJob(String toolName, IGPValues values) throws IOException, AutomationException
toolName
- The toolName (in)values
- A reference to a com.esri.arcgis.geoprocessing.IGPValues (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getJobStatus(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IJobMessages getJobMessages(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPResult getJobResult(String jobID, IStringArray parameterNames, IGPResultOptions pOptions) throws IOException, AutomationException
jobID
- The jobID (in)parameterNames
- A reference to a com.esri.arcgis.system.IStringArray (in)pOptions
- A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancelJob(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getExecutionType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGDSData getResultWorkspace(String jobID, int transportType) throws IOException, AutomationException
jobID
- The jobID (in)transportType
- A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |