public class

GPResultResource

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.ags.geoprocessing.GPResultResource

Class Overview

This class represents a result of execute(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.

Summary

Public Constructors
GPResultResource()
Public Methods
static GPResultResource fromJson(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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GPResultResource ()

Public Methods

public static GPResultResource fromJson (JsonParser parser)

Static method generating a GPResultResource based on the GPResultResource Json representation the Json Parser is pointing to.

Parameters
parser JsonParser: a Json parser pointing to a Json representation of a GPResultResource object.
Returns
GPResultResource a GPParameter of the type defined in the Json representation
Throws
Exception when the Json cannot be parsed

public GPMessage[] getMessages ()

Gets the task execution messages.

Returns
GPMessage[] the task execution messages.

public GPParameter[] getOutputParameters ()

Gets the output parameters.

Returns
GPParameter[] the output parameters.