Packagecom.esri.baserver.tasks.segmentation
Classpublic class TargetGroupParameters
InheritanceTargetGroupParameters Inheritance BAUtilityParameters Inheritance BABaseParameters Inheritance Object
Implements IBAResultProcessor

The TargetGroupParameters class provides input parameters for the Target Group task.

The output target group can be saved in the Business Analyst Server repository if the outputItem parameter is specified.

View the examples

See also

TargetGroupTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BAUtilityParameters
  outputItem : FolderItem
Configuration options for storing the output item in the repository.
TargetGroupParameters
 InheritedresultType : BAResultType
[read-only] Type of a result returned by the task associated with these parameters.
BABaseParameters
  targets : Array
Array of targets.
TargetGroupParameters
 InheritedtaskName : String
[read-only] Name of a Business Analyst Server task associated with these parameters.
BABaseParameters
Public Methods
 MethodDefined By
  
TargetGroupParameters(targets:Array = null)
Creates a new instance of the TargetGroupParameters class.
TargetGroupParameters
Property Detail
outputItemproperty
outputItem:FolderItem

Configuration options for storing the output item in the repository.


Implementation
    public function get outputItem():FolderItem
    public function set outputItem(value:FolderItem):void
targetsproperty 
targets:Array

Array of targets. This array should contain items of the Target type.


Implementation
    public function get targets():Array
    public function set targets(value:Array):void

See also

Constructor Detail
TargetGroupParameters()Constructor
public function TargetGroupParameters(targets:Array = null)

Creates a new instance of the TargetGroupParameters class.

Parameters
targets:Array (default = null) — Array of targets.
Examples
ActionScript to create TargetGroupParameters and then use in a Target Group task:
                     
     var parameters : TargetGroupParameters = new TargetGroupParameters();
     
     // The targets parameter is an array of com.esri.baserver.Target items, e.g.
     //var targets:Array = [ new Target("Metropolis", ["20","22","45","51","54","62"]) ];
     
     // Set an array of targets.
     parameters.targets = targets;
      
     targetGroupTask.execute(parameters, new Responder(resultHandler, faultHandler));