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

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

public class Decision
extends Task

Represent Decision Task.

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

Allows to specify a condition (an expression) to be evaluated in the workflow to create branches in a workflow

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

Field Summary
static java.lang.String DECISION_NAME
          Decision name
 
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
Decision(java.lang.String name, java.lang.String busName, java.lang.String desc)
          Creates a decision task
 
Method Summary
 java.lang.String getDecisionExpression()
          Gets decision expression
 void setDecisionExpression(java.lang.String decisionExpression)
          Sets decision expression.
 
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

DECISION_NAME

public static final java.lang.String DECISION_NAME
Decision name

See Also:
Constant Field Values
Constructor Detail

Decision

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

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

getDecisionExpression

public java.lang.String getDecisionExpression()
Gets decision expression

Returns:
the decision expression set in decision task
See Also:
setDecisionExpression(String)

setDecisionExpression

public void setDecisionExpression(java.lang.String decisionExpression)
Sets decision expression.

Note that validation of the expression is done only when the workflow is imported into repository

Parameters:
decisionExpression - the decision expression to be set
See Also:
#getDecisionExpression(String)