|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GeoProcessorResult
public class GeoProcessorResult
GeoProcessorResult Access.
Constructor Summary | |
---|---|
GeoProcessorResult()
Constructs a GeoProcessorResult using ArcGIS Engine. |
|
GeoProcessorResult(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GeoProcessorResult theGeoProcessorResult = (GeoProcessorResult) obj; |
Method Summary | |
---|---|
void |
cancel()
Cancel the job. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
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. |
int |
hashCode()
the hashcode for this object |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GeoProcessorResult() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GeoProcessorResult(Object obj) throws IOException
GeoProcessorResult theGeoProcessorResult = (GeoProcessorResult) obj;
obj
to GeoProcessorResult
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object getReturnValue() throws IOException, AutomationException
getReturnValue
in interface IGeoProcessorResult
getReturnValue
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStatus() throws IOException, AutomationException
getStatus
in interface IGeoProcessorResult
getStatus
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getResultID() throws IOException, AutomationException
getResultID
in interface IGeoProcessorResult
getResultID
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessages getResultMessages() throws IOException, AutomationException
getResultMessages
in interface IGeoProcessorResult
getResultMessages
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMessageCount() throws IOException, AutomationException
getMessageCount
in interface IGeoProcessorResult
getMessageCount
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMessage(int index) throws IOException, AutomationException
getMessage
in interface IGeoProcessorResult
getMessage
in interface IGeoProcessorResult2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSeverity(int index) throws IOException, AutomationException
getSeverity
in interface IGeoProcessorResult
getSeverity
in interface IGeoProcessorResult2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getReturnCode(int index) throws IOException, AutomationException
getReturnCode
in interface IGeoProcessorResult
getReturnCode
in interface IGeoProcessorResult2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMessages(int severity) throws IOException, AutomationException
getMessages
in interface IGeoProcessorResult
getMessages
in interface IGeoProcessorResult2
severity
- The severity (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxSeverity() throws IOException, AutomationException
getMaxSeverity
in interface IGeoProcessorResult
getMaxSeverity
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOutputCount() throws IOException, AutomationException
getOutputCount
in interface IGeoProcessorResult
getOutputCount
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPValue getOutput(int index) throws IOException, AutomationException
getOutput
in interface IGeoProcessorResult
getOutput
in interface IGeoProcessorResult2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getInputCount() throws IOException, AutomationException
getInputCount
in interface IGeoProcessorResult
getInputCount
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPValue getInput(int index) throws IOException, AutomationException
getInput
in interface IGeoProcessorResult
getInput
in interface IGeoProcessorResult2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cancel() throws IOException, AutomationException
cancel
in interface IGeoProcessorResult
cancel
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMapImageURL(ILongArray pParamIndexes, int height, int width, int resolution) throws IOException, AutomationException
getMapImageURL
in interface IGeoProcessorResult
getMapImageURL
in interface IGeoProcessorResult2
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.public void setStatus(int status) throws IOException, AutomationException
setStatus
in interface IGeoProcessorResult2
status
- A com.esri.arcgis.system.esriJobStatus constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResultID(String resultID) throws IOException, AutomationException
setResultID
in interface IGeoProcessorResult2
resultID
- The resultID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdProcess getProcess() throws IOException, AutomationException
getProcess
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProcessByRef(IMdProcess process) throws IOException, AutomationException
setProcessByRef
in interface IGeoProcessorResult2
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.public 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.
isCanceled
in interface IGeoProcessorResult2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAsync() throws IOException, AutomationException
isAsync
in interface IGeoProcessorResult2
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 |