com.esri.arcgis.geoprocessing
Interface IGPFunction2

All Superinterfaces:
IGPFunction, Serializable
All Known Implementing Classes:
BaseGeoprocessingTool, IGPFunction2Proxy

public interface IGPFunction2
extends IGPFunction, Serializable

Provides access to methods on a geoprocessing function tool object.

Description

This interface is new at ArcGIS 9.3. It supersedes IGPFunction.

Product Availability

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


Method Summary
 void updateMessages(IArray paramvalues, IGPEnvironmentManager pEnvMgr, IGPMessages messages)
          Post validates the given set of values.
 void updateParameters(IArray paramvalues, IGPEnvironmentManager pEnvMgr)
          Pre validates the given set of values.
 
Methods inherited from interface com.esri.arcgis.geoprocessing.IGPFunction
execute, getDialogCLSID, getDisplayName, getFullName, getHelpContext, getHelpFile, getMetadataFile, getName, getParameterInfo, getRenderer, isLicensed, validate
 

Method Detail

updateParameters

void updateParameters(IArray paramvalues,
                      IGPEnvironmentManager pEnvMgr)
                      throws IOException,
                             AutomationException
Pre validates the given set of values.

Product Availability

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

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

updateMessages

void updateMessages(IArray paramvalues,
                    IGPEnvironmentManager pEnvMgr,
                    IGPMessages messages)
                    throws IOException,
                           AutomationException
Post validates the given set of values.

Product Availability

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

Parameters:
paramvalues - A reference to a com.esri.arcgis.system.IArray (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.