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

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

public class GPMessage
extends Object

This class represents messages generated during the execution of a geoprocessing task. They include information such as when the task started, what parameter values are being used, the progress of the task, warnings of potential problems, and errors.

Since:
1.0

Constructor Summary
GPMessage()
           
 
Method Summary
static GPMessage fromJson(org.codehaus.jackson.JsonParser parser)
          Static method generating a GPMessage array based on the GPMessage Json representation the Json Parser is pointing to.
 String getDescription()
          Gets the description.
 String getType()
          Gets the type.
 void setDescription(String description)
          Sets the description.
 void setType(String type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPMessage

public GPMessage()
Method Detail

getType

public String getType()
Gets the type.

Returns:
the type
Since:
1.0

getDescription

public String getDescription()
Gets the description.

Returns:
the description
Since:
1.0

setType

public void setType(String type)
Sets the type.

Parameters:
type - the type to set
Since:
1.0

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description to set
Since:
1.0

fromJson

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

Parameters:
parser - a Json parser pointing to a Json representation of a GPMessage object.
Returns:
a GPMessage
Throws:
Exception
Since:
1.0


Copyright © 2012. All Rights Reserved.