com.esri.adf.web.data.tasks
Class SimpleTaskInfo

java.lang.Object
  extended by com.esri.adf.web.data.tasks.SimpleTaskInfo
All Implemented Interfaces:
TaskInfo, Serializable
Direct Known Subclasses:
GeocodeTask, GPJobResultsTaskInfo, MapToolsTaskInfo, PrintTaskTaskInfo, QueryAttributesTaskInfo, RoutingTaskInfo, SearchAttributesTaskInfo

public class SimpleTaskInfo
extends Object
implements TaskInfo

The SimpleTaskInfo is the default implementation of TaskInfo such that all getter methods return null.

This serves as a convenience mechanism for users who want to provide their own TaskInfo classes. By extending SimpleTaskInfo instead of implementing TaskInfo they need override methods selectively and not have to implement all the methods.

See Also:
Serialized Form

Constructor Summary
SimpleTaskInfo()
           
 
Method Summary
 TaskActionDescriptorModel[] getActionDescriptors()
          Claims there are no custom task action descriptors provided.
 TaskParamDescriptorModel[] getParamDescriptors()
          Claims there are no custom task param descriptors provided.
 TaskDescriptor getTaskDescriptor()
          Claims there is no custom TaskDescriptor provided.
 TaskLayout[] getTaskLayout()
          Claims there are no custom task layouts provided.
 TaskToolDescriptorModel[] getToolDescriptors()
          Claims there are no custom task tool descriptors provided.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleTaskInfo

public SimpleTaskInfo()
Method Detail

getTaskDescriptor

public TaskDescriptor getTaskDescriptor()
Claims there is no custom TaskDescriptor provided. You can override this if you wish to provide an explicit descriptor.

Specified by:
getTaskDescriptor in interface TaskInfo
Returns:
null

getParamDescriptors

public TaskParamDescriptorModel[] getParamDescriptors()
Claims there are no custom task param descriptors provided. You can override this if you wish to provide explicit descriptors.

Specified by:
getParamDescriptors in interface TaskInfo
Returns:
null

getActionDescriptors

public TaskActionDescriptorModel[] getActionDescriptors()
Claims there are no custom task action descriptors provided. You can override this if you wish to provide explicit descriptors.

Specified by:
getActionDescriptors in interface TaskInfo
Returns:
null

getToolDescriptors

public TaskToolDescriptorModel[] getToolDescriptors()
Claims there are no custom task tool descriptors provided. You can override this if you wish to provide explicit descriptors.

Specified by:
getToolDescriptors in interface TaskInfo
Returns:
null

getTaskLayout

public TaskLayout[] getTaskLayout()
Claims there are no custom task layouts provided. You can override this if you wish to provide explicit layouts.

Specified by:
getTaskLayout in interface TaskInfo
Returns:
null

toString

public String toString()
Overrides:
toString in class Object