|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.workflow.impl.BooleanVariableAssignmentImpl
public class BooleanVariableAssignmentImpl
Implementation of a boolean variable assignment.
Constructor Summary | |
---|---|
protected |
BooleanVariableAssignmentImpl(BooleanVariableImpl variable,
boolean value)
Ctor. |
Method Summary | |
---|---|
void |
execute(WorkflowInstance instance)
Executes this action for a given workflow instance. |
boolean |
getValue()
Returns the value of this assignment. |
BooleanVariableImpl |
getVariable()
Returns the variable of this assignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BooleanVariableAssignmentImpl(BooleanVariableImpl variable, boolean value)
variable
- The variable.value
- The value.Method Detail |
---|
public void execute(WorkflowInstance instance) throws WorkflowException
Action
execute
in interface Action
instance
- the workflow instance
WorkflowException
- if the execution failedAction.execute(org.apache.lenya.workflow.WorkflowInstance instance)
public boolean getValue()
public BooleanVariableImpl getVariable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |