com.esri.arcgis.geoprocessing
Class IGeoProcessorSettings2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGeoProcessorSettingsProxy
          extended by com.esri.arcgis.geoprocessing.IGeoProcessorSettings2Proxy
All Implemented Interfaces:
IGeoProcessorSettings, IGeoProcessorSettings2, Externalizable, Serializable

public class IGeoProcessorSettings2Proxy
extends IGeoProcessorSettingsProxy
implements IGeoProcessorSettings2, Serializable

Provides access to the properties/methods of the GeoProcessor settings.

Description

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

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IGeoProcessorSettings2Proxy()
           
  IGeoProcessorSettings2Proxy(Object obj)
           
protected IGeoProcessorSettings2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getHowLongToKeepResults()
          This property determine how long to hold on results.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setHowLongToKeepResults(int timeInterval)
          This property determine how long to hold on results.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.geoprocessing.IGeoProcessorSettingsProxy
isAddOutputsToMap, isLogHistory, isOverwriteOutput, isShowModelBuilderPrompts, isTemporaryMapLayers, setAddOutputsToMap, setLogHistory, setOverwriteOutput, setShowModelBuilderPrompts, setTemporaryMapLayers
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geoprocessing.IGeoProcessorSettings
isAddOutputsToMap, isLogHistory, isOverwriteOutput, isShowModelBuilderPrompts, isTemporaryMapLayers, setAddOutputsToMap, setLogHistory, setOverwriteOutput, setShowModelBuilderPrompts, setTemporaryMapLayers
 

Constructor Detail

IGeoProcessorSettings2Proxy

public IGeoProcessorSettings2Proxy()

IGeoProcessorSettings2Proxy

public IGeoProcessorSettings2Proxy(Object obj)
                            throws IOException
Throws:
IOException

IGeoProcessorSettings2Proxy

protected IGeoProcessorSettings2Proxy(Object obj,
                                      String iid)
                               throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IGeoProcessorSettingsProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IGeoProcessorSettingsProxy
Throws:
IOException

setHowLongToKeepResults

public void setHowLongToKeepResults(int timeInterval)
                             throws IOException,
                                    AutomationException
This property determine how long to hold on results.

Product Availability

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

Specified by:
setHowLongToKeepResults in interface IGeoProcessorSettings2
Parameters:
timeInterval - A com.esri.arcgis.geoprocessing.esriGPTimeIntervalType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHowLongToKeepResults

public int getHowLongToKeepResults()
                            throws IOException,
                                   AutomationException
This property determine how long to hold on results.

Product Availability

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

Specified by:
getHowLongToKeepResults in interface IGeoProcessorSettings2
Returns:
A com.esri.arcgis.geoprocessing.esriGPTimeIntervalType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException