|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeoProcessorResult2
The Geoprocessor Result. Provides access to the results of tools.
This interface is new at ArcGIS 10. It supersedes IGeoProcessorResult.
Method Summary | |
---|---|
void |
cancel()
Cancel the job. |
IGPValue |
getInput(int index)
Return the input by index. |
int |
getInputCount()
Return the number of inputs. |
String |
getMapImageURL(ILongArray pParamIndexes,
int height,
int width,
int resolution)
Delete the job and all associated data. |
int |
getMaxSeverity()
Return the maximum severity of the message. |
String |
getMessage(int index)
Return the message description by index. |
int |
getMessageCount()
Return the number of messages. |
String |
getMessages(int severity)
Return all of the message descriptions. |
IGPValue |
getOutput(int index)
Return the output by index. |
int |
getOutputCount()
Return the number of outputs. |
IMdProcess |
getProcess()
Set the GeoProcessor process value. |
String |
getResultID()
Get the job ID. |
IGPMessages |
getResultMessages()
Return the GPMessages object which will be messages. |
int |
getReturnCode(int index)
Return the message error code (Error Messages Only) by index. |
Object |
getReturnValue()
Get the GeoProcessor return value. |
int |
getSeverity(int index)
Return the message severity by index. |
int |
getStatus()
Get the job status. |
boolean |
isAsync()
Get the GeoProcessor ASync status. |
boolean |
isCanceled()
Get the GeoProcessor return value. |
void |
setProcessByRef(IMdProcess process)
Set the GeoProcessor process value. |
void |
setResultID(String resultID)
Get the job ID. |
void |
setStatus(int status)
Get the job status. |
Method Detail |
---|
Object getReturnValue() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getStatus() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getResultID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPMessages getResultMessages() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMessageCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getMessage(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSeverity(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getReturnCode(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getMessages(int severity) throws IOException, AutomationException
severity
- The severity (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaxSeverity() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getOutputCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPValue getOutput(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getInputCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPValue getInput(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getMapImageURL(ILongArray pParamIndexes, int height, int width, int resolution) throws IOException, AutomationException
pParamIndexes
- A reference to a com.esri.arcgis.system.ILongArray (in)height
- The height (in)width
- The width (in)resolution
- The resolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStatus(int status) throws IOException, AutomationException
status
- A com.esri.arcgis.system.esriJobStatus constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setResultID(String resultID) throws IOException, AutomationException
resultID
- The resultID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMdProcess getProcess() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setProcessByRef(IMdProcess process) throws IOException, AutomationException
process
- A reference to a com.esri.arcgis.geoprocessing.IMdProcess (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanceled() throws IOException, AutomationException
Indicates that the IGeoProcessorResult2.Cancel method has been called. Use IGeoProcessorResult2.Status to determine whether the tool is still cancelling or has been cancelled.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAsync() throws IOException, AutomationException
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 |