Packagecom.esri.bacore.adapters
Classpublic class ConfigurableTaskAdapter
InheritanceConfigurableTaskAdapter Inheritance Object
Implements IConfigurableTaskAdapter
Subclasses BaseComparisonTaskAdapter, BaseGeographiesQueryAdapter, BaseGetSummarizationsTaskAdapter, BaseThematicQueryTaskAdapter, BusinessSearchTaskAdapter

Since : Community Analyst API for Flex 2.2.

The ConfigurableTaskAdapter is the base abstract class for task adapters designed on the top of Community Analyst API.



Public Methods
 MethodDefined By
  
Creates new instance of the ConfigurableTaskAdapter class.
ConfigurableTaskAdapter
  
configure(client:AbstractClient, settings:TaskAdapterConfiguration = null):void
Configures this adapter with the client and additional settings.
ConfigurableTaskAdapter
Protected Methods
 MethodDefined By
  
Configures the internal task with the given client class.
ConfigurableTaskAdapter
Constructor Detail
ConfigurableTaskAdapter()Constructor
public function ConfigurableTaskAdapter()

Creates new instance of the ConfigurableTaskAdapter class.

Method Detail
configure()method
public function configure(client:AbstractClient, settings:TaskAdapterConfiguration = null):void

Configures this adapter with the client and additional settings.

The default implementation configures the internal task with the given client and then applies the task adapter configuration if the configured task implements the IBATask and/or IBADatasetParameters interfaces.

Parameters

client:AbstractClient — A client class to configure this adapter with.
 
settings:TaskAdapterConfiguration (default = null) — Optional task adapter configuration.

See also

configureInternalTask()method 
protected function configureInternalTask(client:AbstractClient):Object

Configures the internal task with the given client class.

The default implementation does nothing and returns null.

Parameters

client:AbstractClient — A client to configure the internal task with.

Returns
Object — The task to apply additional settings to.