Package | com.esri.baserver.tasks.segmentation |
Class | public class ReportFromProfileParameters |
Inheritance | ReportFromProfileParameters StandardReportParameters StandardReportParameters BATaskParameters Object |
Output options for this task include creating a report (outputTypes.getReport). You need not specify the output options for this task because the getReport output type is set by default.
See also
Property | Defined By | ||
---|---|---|---|
activeDatasetID : String
Active dataset ID. | BATaskParameters | ||
outputReportItem : FolderItem
Configuration options for storing the output report in the repository. | StandardReportParameters | ||
outputTypes : OutputTypes
Task output types. | BATaskParameters | ||
profile : ProfileData
Segmentation profile (required). | ReportFromProfileParameters | ||
resultType : BAResultType [read-only]
Type of the result returned by the task associated with these parameters. | BATaskParameters | ||
standardReportOptions : ReportOptions
Standard report options. | StandardReportParameters | ||
taskName : String [read-only]
Name of a Community Analyst Task associated with these parameters. | BATaskParameters |
Method | Defined By | ||
---|---|---|---|
ReportFromProfileParameters(profile:ProfileData = null)
Creates a new instance of the ReportFromProfileParameters class. | ReportFromProfileParameters |
profile | property |
profile:ProfileData
Segmentation profile (required).
public function get profile():ProfileData
public function set profile(value:ProfileData):void
ReportFromProfileParameters | () | Constructor |
public function ReportFromProfileParameters(profile:ProfileData = null)
Creates a new instance of the ReportFromProfileParameters class.
Parametersprofile:ProfileData (default = null ) — Segmentation profile.
|
var parameters : ReportFromProfileParameters = new ReportFromProfileParameters(); // The ProfileData type could take either data as an XML string // or as com.esri.baserver.FolderItem type, e.g. //var profile:FolderItem = new FolderItem(workspaceName, projectName, FolderType.SEGMENTATION_PROFILES, profileName); // Set a segmentation profile. parameters.profile = new ProfileData(profile); // Set report parameters. parameters.standardReportOptions = new ReportOptions("PDF"); reportFromProfileTask.execute(parameters, new Responder(resultHandler, faultHandler));