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.


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

getDescription

public String getDescription()
Gets the description.

Returns:
the description

setType

public void setType(String type)
Sets the type.

Parameters:
type - the type to set

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description to set

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


Copyright © 2012. All Rights Reserved.