Packagecom.esri.bacore.client
Classpublic final class BatchTaskResult
InheritanceBatchTaskResult Inheritance Object

The BatchTaskResult class represents the result of a single task execution within the scope of a batch task.

See also

BatchTaskParameters


Public Properties
 PropertyDefined By
  messages : Array
[read-only] Array of TaskMessage items returned by the task.
BatchTaskResult
  requestUrl : String
[read-only] Human readable URL of the request completed or null.
BatchTaskResult
  result : *
[read-only] Result returned by the task.
BatchTaskResult
  taskName : String
[read-only] Name of task that was executed.
BatchTaskResult
Public Methods
 MethodDefined By
  
BatchTaskResult(taskName:String, result:*, messages:Array, requestUrl:String = null)
Creates a new instance of the BatchTaskResult class.
BatchTaskResult
Property Detail
messagesproperty
messages:Array  [read-only]

Array of TaskMessage items returned by the task.


Implementation
    public function get messages():Array

See also

requestUrlproperty 
requestUrl:String  [read-only]

Human readable URL of the request completed or null.


Implementation
    public function get requestUrl():String
resultproperty 
result:*  [read-only]

Result returned by the task.


Implementation
    public function get result():*
taskNameproperty 
taskName:String  [read-only]

Name of task that was executed.


Implementation
    public function get taskName():String
Constructor Detail
BatchTaskResult()Constructor
public function BatchTaskResult(taskName:String, result:*, messages:Array, requestUrl:String = null)

Creates a new instance of the BatchTaskResult class.

Parameters
taskName:String — Name of a task that was executed.
 
result:* — Result returned by the task.
 
messages:Array — Array of messages returned by the task.
 
requestUrl:String (default = null) — Request URL.