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.


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
equals, 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.

getMessages

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

Returns:
the task execution messages.

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


Copyright © 2012. All Rights Reserved.