com.informatica.powercenter.sdk.mapfwk.core
Class Control

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.Task
      extended by com.informatica.powercenter.sdk.mapfwk.core.Control

public class Control
extends Task

Represent Control Task.

Workflow Manager contains many types of tasks to help you build workflows and worklets

Control task allows to stop, abort, or fail the top-level workflow or the parent workflow based on an input link condition. A parent workflow or worklet is the workflow or worklet that contains the Control task.

See Also:
Assignment, Command, Decision, EMail, Session, Timer

Field Summary
static java.lang.String CONTROL_OPTION
          Control option
static java.lang.String CONTROL_OPTION_VALUE_ABORT_PARENT
          Control option - type "Abort parent"
static java.lang.String CONTROL_OPTION_VALUE_ABORT_TOP_LEVEL_WORKFLOW
          Control option - type "Abort top-level workflow"
static java.lang.String CONTROL_OPTION_VALUE_FAIL_ME
          Control option - type "Fail me"
static java.lang.String CONTROL_OPTION_VALUE_FAIL_PARENT
          Control option - type "Fail parent"
static java.lang.String CONTROL_OPTION_VALUE_FAIL_TOP_LEVEL_WORKFLOW
          Control option - type "Fail top-level workflow"
static java.lang.String CONTROL_OPTION_VALUE_STOP_TOP_LEVEL_WORKFLOW
          Control option - type "Stop top-level workflow"
 
Fields inherited from class com.informatica.powercenter.sdk.mapfwk.core.Task
FAIL_PARENT_IF_INSTANCE_DIDNOT_RUN, FAIL_PARENT_IF_INSTANCE_FAILS, NO_OPTION, REUSABLE, TREAT_INPUT_LINK_AS_AND, YES_OPTION
 
Constructor Summary
Control(java.lang.String name, java.lang.String busName, java.lang.String desc)
          Creates a Control task
 
Method Summary
 java.lang.String getControlOption()
          Gets control option
 void setControlOption(java.lang.String controlOption)
          Sets control option.
 
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Task
connectToTask, connectToTask, deleteNameValuePair, getAllConnectedTasks, getAllConnectedTasksAndExpressions, getAttributes, getBusinessName, getConflictResolution, getDescription, getMetaExtensions, getName, getNamesOfValuePairs, getNameValuePairs, getProperties, getTaskInstanceProperty, getType, getValueOfNameValuePair, isModified, setAttributes, setBusinessName, setConflictResolution, setDescription, setMetaExtensions, setModified, setName, setNameValuePair, setTaskInstanceProperty, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTROL_OPTION

public static final java.lang.String CONTROL_OPTION
Control option

See Also:
Constant Field Values

CONTROL_OPTION_VALUE_FAIL_ME

public static final java.lang.String CONTROL_OPTION_VALUE_FAIL_ME
Control option - type "Fail me"

See Also:
Constant Field Values

CONTROL_OPTION_VALUE_FAIL_PARENT

public static final java.lang.String CONTROL_OPTION_VALUE_FAIL_PARENT
Control option - type "Fail parent"

See Also:
Constant Field Values

CONTROL_OPTION_VALUE_ABORT_PARENT

public static final java.lang.String CONTROL_OPTION_VALUE_ABORT_PARENT
Control option - type "Abort parent"

See Also:
Constant Field Values

CONTROL_OPTION_VALUE_FAIL_TOP_LEVEL_WORKFLOW

public static final java.lang.String CONTROL_OPTION_VALUE_FAIL_TOP_LEVEL_WORKFLOW
Control option - type "Fail top-level workflow"

See Also:
Constant Field Values

CONTROL_OPTION_VALUE_STOP_TOP_LEVEL_WORKFLOW

public static final java.lang.String CONTROL_OPTION_VALUE_STOP_TOP_LEVEL_WORKFLOW
Control option - type "Stop top-level workflow"

See Also:
Constant Field Values

CONTROL_OPTION_VALUE_ABORT_TOP_LEVEL_WORKFLOW

public static final java.lang.String CONTROL_OPTION_VALUE_ABORT_TOP_LEVEL_WORKFLOW
Control option - type "Abort top-level workflow"

See Also:
Constant Field Values
Constructor Detail

Control

public Control(java.lang.String name,
               java.lang.String busName,
               java.lang.String desc)
Creates a Control task

Parameters:
name - name
busName - business name
desc - description
Method Detail

getControlOption

public java.lang.String getControlOption()
Gets control option

Control options would be of one of the following:

Returns:
control option
See Also:
setControlOption(String)

setControlOption

public void setControlOption(java.lang.String controlOption)
Sets control option.

Control options should be of one of the following:

Parameters:
controlOption - the conrol option to be set
See Also:
#getControlOption(String)