com.esri.arcgis.geoprocessing
Interface IGPCustomTool

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGPCustomToolProxy

public interface IGPCustomTool
extends Serializable

Provides access to methods on a custom geoprocessing tool object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IGPToolExtension getToolExtension()
          The tool extension associated with the tool.
 void setToolExtensionByRef(IGPToolExtension extension)
          The tool extension associated with the tool.
 

Method Detail

getToolExtension

IGPToolExtension getToolExtension()
                                  throws IOException,
                                         AutomationException
The tool extension associated with the tool.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToolExtensionByRef

void setToolExtensionByRef(IGPToolExtension extension)
                           throws IOException,
                                  AutomationException
The tool extension associated with the tool.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
extension - A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.