| Package | com.esri.baserver.tasks.segmentation |
| Class | public class TargetGroupParameters |
| Inheritance | TargetGroupParameters BAUtilityParameters BABaseParameters Object |
| Implements | IBAResultProcessor |
The output target group can be saved in the Business Analyst Server repository
if the outputItem parameter is specified.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | activeDatasetID : String
Active dataset ID. | BAUtilityParameters | |
| outputItem : FolderItem
Configuration options for storing the output item in the repository. | TargetGroupParameters | ||
![]() | resultType : BAResultType [read-only]
Type of a result returned by the task associated with these parameters. | BABaseParameters | |
| targets : Array
Array of targets. | TargetGroupParameters | ||
![]() | taskName : String [read-only]
Name of a Business Analyst Server task associated with these parameters. | BABaseParameters | |
| Method | Defined By | ||
|---|---|---|---|
TargetGroupParameters(targets:Array = null)
Creates a new instance of the TargetGroupParameters class. | TargetGroupParameters | ||
| outputItem | property |
outputItem:FolderItemConfiguration options for storing the output item in the repository.
public function get outputItem():FolderItem public function set outputItem(value:FolderItem):void| targets | property |
targets:ArrayArray of targets. This array should contain items of the Target type.
public function get targets():Array public function set targets(value:Array):voidSee also
| TargetGroupParameters | () | Constructor |
public function TargetGroupParameters(targets:Array = null)Creates a new instance of the TargetGroupParameters class.
Parameterstargets:Array (default = null) — Array of targets.
|
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));