public class Conditional extends java.lang.Object implements ITransformationStep
| Modifier and Type | Field and Description |
|---|---|
protected IConditionProvider |
condition |
protected org.eclipse.emf.mwe2.runtime.workflow.IWorkflowContext |
ctx |
protected ITransformationStep |
ifFalse |
protected ITransformationStep |
ifTrue |
| Constructor and Description |
|---|
Conditional() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
If the transformation step contains any resources that need to be disposed of, it can be done here.
|
void |
execute()
Defines the added functionality of the ITransformationStep object
|
void |
initialize(org.eclipse.emf.mwe2.runtime.workflow.IWorkflowContext ctx)
In this method the transformation step can be initialized.
|
void |
setCondition(IConditionProvider condition) |
ITransformationStep |
setIfFalse(ITransformationStep ifFalse) |
ITransformationStep |
setIfTrue(ITransformationStep ifTrue) |
protected org.eclipse.emf.mwe2.runtime.workflow.IWorkflowContext ctx
protected IConditionProvider condition
protected ITransformationStep ifTrue
protected ITransformationStep ifFalse
public ITransformationStep setIfTrue(ITransformationStep ifTrue)
public ITransformationStep setIfFalse(ITransformationStep ifFalse)
public void setCondition(IConditionProvider condition)
public void initialize(org.eclipse.emf.mwe2.runtime.workflow.IWorkflowContext ctx)
ITransformationStepinitialize in interface ITransformationStepctx - The context of the workflow, which can contain various workflow-specific resources.public void execute()
ITransformationStepexecute in interface ITransformationSteppublic void dispose()
ITransformationStepdispose in interface ITransformationStep