public class

GPGetJobResultTask

extends Task<GPParameter>
java.lang.Object
   ↳ com.esri.core.internal.tasks.CoreTask<com.esri.core.tasks.ags.geoprocessing.GPParameter>
     ↳ com.esri.core.internal.tasks.Task<com.esri.core.tasks.ags.geoprocessing.GPParameter>
       ↳ com.esri.core.tasks.ags.geoprocessing.GPGetJobResultTask

Class Overview

This class implements a task that can be passed to a thread pool or thread to asynchronously retrieve an output parameter from an asynchronous geoprocessing task. This will return either the result data or a result image depending on the values passed in the GPGetResultParameters object used to create this instance. In both cases, a GPParameter will be returned via the callback.

Summary

[Expand]
Inherited Fields
From class com.esri.core.internal.tasks.Task
From class com.esri.core.internal.tasks.CoreTask
Public Constructors
GPGetJobResultTask(GPGetJobResultParameters actionInput, String url, UserCredentials credentials)
Instantiates a new GP get job result task.
GPGetJobResultTask(GPGetJobResultParameters actionInput, String url, UserCredentials credentials, TaskListener<GPParameter> listener)
Instantiates a new GP get job result task.
Public Methods
GPParameter execute()
[Expand]
Inherited Methods
From class com.esri.core.internal.tasks.Task
From class com.esri.core.internal.tasks.CoreTask
From class java.lang.Object
From interface java.util.concurrent.Callable

Public Constructors

public GPGetJobResultTask (GPGetJobResultParameters actionInput, String url, UserCredentials credentials)

Instantiates a new GP get job result task.

Parameters
actionInput GPGetJobResultParameters: the action input
url String: the url
credentials UserCredentials: the credentials

public GPGetJobResultTask (GPGetJobResultParameters actionInput, String url, UserCredentials credentials, TaskListener<GPParameter> listener)

Instantiates a new GP get job result task.

Parameters
actionInput GPGetJobResultParameters: the action input
url String: the url
credentials UserCredentials: the credentials
listener TaskListener: the listener

Public Methods

public GPParameter execute ()

Returns
GPParameter
Throws
Exception