com.esri.core.tasks.ags.geoprocessing
Class GPResultResource

java.lang.Object
  extended by com.esri.core.tasks.ags.geoprocessing.GPResultResource

public class GPResultResource
extends Object

This class represents a result of Geoprocessor.execute(java.util.List). It contains an array of output parameters and the GP task execution messages. Each output parameter provides information such as the parameter name, the data type, and most importantly, the value for that parameter.

Since:
1.0

Constructor Summary
GPResultResource()
           
 
Method Summary
static GPResultResource fromJson(org.codehaus.jackson.JsonParser parser)
          Static method generating a GPResultResource based on the GPResultResource Json representation the Json Parser is pointing to.
 GPMessage[] getMessages()
          Gets the task execution messages.
 GPParameter[] getOutputParameters()
          Gets the output parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPResultResource

public GPResultResource()
Method Detail

getOutputParameters

public GPParameter[] getOutputParameters()
Gets the output parameters.

Returns:
the output parameters.
Since:
1.0

getMessages

public GPMessage[] getMessages()
Gets the task execution messages.

Returns:
the task execution messages.
Since:
1.0

fromJson

public static GPResultResource fromJson(org.codehaus.jackson.JsonParser parser)
                                 throws Exception
Static method generating a GPResultResource based on the GPResultResource Json representation the Json Parser is pointing to.

Parameters:
parser - a Json parser pointing to a Json representation of a GPResultResource object.
Returns:
a GPParameter of the type defined in the Json representation
Throws:
Exception
Since:
1.0


Copyright © 2012. All Rights Reserved.