Packagecom.esri.baserver.tasks
Classpublic class AnalysisParameters
InheritanceAnalysisParameters Inheritance AnalysisParameters Inheritance BATaskParameters Inheritance Object
Subclasses AssignCustomersByClosestStoreParameters, AssignCustomersByTradeAreaParameters, CustomerProspectingParameters, CustomerStoreSetupByCoordinatesParameters, CustomerStoreSetupByGeocodeTableParameters, DesireLinesParameters, FindSimilarParameters, SpatialOverlayParameters

The AnalysisParameters class is the base class for Business Analyst Server tasks producing feature class and map image outputs.

Output options for tasks whose parameters inherit from this class include rendering an output image (outputTypes.getMapImage) and/or creating a feature class for subsequent analysis (outputTypes.getFeatureClass). If no output options are specified, the required output options are specified as follows. If the renderingParameters parameter is specified, the image output is requested. If the outputAnalysisItem parameter is specified, the output analysis feature class will be stored in the repository. If both renderingParameters and outputAnalysisItem parameters are missing, the feature class output is requested.



Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  outputAnalysisItem : FolderItem
Configuration options for storing the output feature class in the repository.
AnalysisParameters
  outputSpatialReference : SpatialReference
The spatial reference to return the output feature set in.
AnalysisParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
  renderingParameters : RenderingParameters
Configuration options for rendering output to map image.
AnalysisParameters
 InheritedresultType : BAResultType
[read-only] Type of the result returned by the task associated with these parameters.
BATaskParameters
  returnGeometry : Boolean
An option specifying the presence of the shape attribute in the returned record set.
AnalysisParameters
 InheritedtaskName : String
[read-only] Name of a Community Analyst Task associated with these parameters.
BATaskParameters
Public Methods
 MethodDefined By
  
AnalysisParameters(taskName:String, outputTypes:OutputTypes = null)
Creates a new instance of the AnalysisParameters class.
AnalysisParameters
Property Detail
outputAnalysisItemproperty
outputAnalysisItem:FolderItem

Configuration options for storing the output feature class in the repository.


Implementation
    public function get outputAnalysisItem():FolderItem
    public function set outputAnalysisItem(value:FolderItem):void
outputSpatialReferenceproperty 
outputSpatialReference:SpatialReference

The spatial reference to return the output feature set in.


Implementation
    public function get outputSpatialReference():SpatialReference
    public function set outputSpatialReference(value:SpatialReference):void
renderingParametersproperty 
renderingParameters:RenderingParameters

Configuration options for rendering output to map image.


Implementation
    public function get renderingParameters():RenderingParameters
    public function set renderingParameters(value:RenderingParameters):void
returnGeometryproperty 
returnGeometry:Boolean

An option specifying the presence of the shape attribute in the returned record set.

The default value is true.


Implementation
    public function get returnGeometry():Boolean
    public function set returnGeometry(value:Boolean):void
Constructor Detail
AnalysisParameters()Constructor
public function AnalysisParameters(taskName:String, outputTypes:OutputTypes = null)

Creates a new instance of the AnalysisParameters class.

Parameters
taskName:String — Name of a Business Analyst Server task associated with this instance.
 
outputTypes:OutputTypes (default = null) — Task output types.