com.esri.adf.web.ags.data.gp
Class GPJobResultsTask

java.lang.Object
  extended by com.esri.adf.web.ags.data.gp.GPJobResultsTask
All Implemented Interfaces:
WebContextInitialize, Serializable

public class GPJobResultsTask
extends Object
implements WebContextInitialize, Serializable

See Also:
Serialized Form

Constructor Summary
GPJobResultsTask()
           
 
Method Summary
 void destroy()
           The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in this method.
 Map<String,String> getAvailableGPTaskNames()
           
 GPJobResultsTaskConfig getConfig()
           
 String getJobID()
           
 void getResults(Element xml)
           
 void getResults(TaskEvent event)
           
 String getSelectedGPTaskId()
           
 GPJobResultsTaskInfo getTaskInfo()
           
 WebContext getWebContext()
           
 void init(WebContext context)
           The initialization chores of attributes of a WebContext should be performed in this method.
 void setConfig(GPJobResultsTaskConfig config)
           
 void setJobID(String jobID)
           
 void setSelectedGPTaskId(String id)
           
 void setTaskInfo(GPJobResultsTaskInfo taskInfo)
           
 void setWebContext(WebContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPJobResultsTask

public GPJobResultsTask()
Method Detail

init

public void init(WebContext context)
Description copied from interface: WebContextInitialize

The initialization chores of attributes of a WebContext should be performed in this method.

Typically this method is called by the WebContext when the context itself is initialized. It is important to note that this method is again called by the context when a GISResource is dynamically added to or removed from the context. Classes that implement this method should keep this in mind and adapt the method to react to the callbacks in these circumstances as well.

A WebContext attribute is usable only after this method has been called.

Specified by:
init in interface WebContextInitialize
Parameters:
context - WebContext- the WebContext
See Also:
WebContext.init(WebContext), WebContext.addResource(String, GISResource, int), WebContext.removeResource(GISResource)

setWebContext

public void setWebContext(WebContext context)

getJobID

public String getJobID()

setJobID

public void setJobID(String jobID)

getSelectedGPTaskId

public String getSelectedGPTaskId()

setSelectedGPTaskId

public void setSelectedGPTaskId(String id)

getAvailableGPTaskNames

public Map<String,String> getAvailableGPTaskNames()

getWebContext

public WebContext getWebContext()

getConfig

public GPJobResultsTaskConfig getConfig()

setConfig

public void setConfig(GPJobResultsTaskConfig config)

getTaskInfo

public GPJobResultsTaskInfo getTaskInfo()

setTaskInfo

public void setTaskInfo(GPJobResultsTaskInfo taskInfo)

getResults

public void getResults(TaskEvent event)

destroy

public void destroy()
Description copied from interface: WebContextInitialize

The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in this method.

Typically this method is called by the WebContext when the context itself is destroyed.

The WebContext attribute is unusable after this method has been called.

Specified by:
destroy in interface WebContextInitialize
See Also:
WebContext.destroy()

getResults

public void getResults(Element xml)