|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPServer2
Provides access to the properties/methods of the geoprocessing server.
This interface is new at ArcGIS 9.3. It supersedes IGPServer.
Method Summary | |
---|---|
void |
cancelJob(String jobID)
Cancels the specified job. |
IGPResult |
execute(String toolName,
IGPValues values,
IGPResultOptions options,
IPropertySet envValues)
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. |
IPropertySet |
getJobEnvironmentValues(String jobID)
Returns the enviornment values for the job. |
IGPValues |
getJobInputValues(String jobID,
IStringArray parameterNames)
Returns the input values for the job. |
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. |
IEnvelope |
getJobResultMapExtent(String jobID)
Returns the extent for the job. |
IGPResultOptions |
getJobResultOptions(String jobID)
Returns the result options for the job. |
int |
getJobStatus(String jobID)
Returns the status of the specified job. |
String |
getJobToolName(String jobID)
Returns the tool name for the 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,
IGPResultOptions options,
IPropertySet envValues)
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 options, IPropertySet envValues) throws IOException, AutomationException
toolName
- The toolName (in)values
- A reference to a com.esri.arcgis.geoprocessing.IGPValues (in)options
- A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions (in)envValues
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String submitJob(String toolName, IGPValues values, IGPResultOptions options, IPropertySet envValues) throws IOException, AutomationException
toolName
- The toolName (in)values
- A reference to a com.esri.arcgis.geoprocessing.IGPValues (in)options
- A reference to a com.esri.arcgis.geoprocessing.IGPResultOptions (in)envValues
- A reference to a com.esri.arcgis.system.IPropertySet (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.String getJobToolName(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPValues getJobInputValues(String jobID, IStringArray parameterNames) throws IOException, AutomationException
jobID
- The jobID (in)parameterNames
- A reference to a com.esri.arcgis.system.IStringArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPResultOptions getJobResultOptions(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getJobEnvironmentValues(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getJobResultMapExtent(String jobID) throws IOException, AutomationException
jobID
- The jobID (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 |