public class

GPMessage

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

Class Overview

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.

Summary

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

Public Constructors

public GPMessage ()

Public Methods

public static GPMessage fromJson (JsonParser parser)

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
Exception

public String getDescription ()

Gets the description.

Returns
  • the description

public String getType ()

Gets the type.

Returns
  • the type

public void setDescription (String description)

Sets the description.

Parameters
description the description to set

public void setType (String type)

Sets the type.

Parameters
type the type to set