Class IfComponent
java.lang.Object
org.eclipse.emf.mwe.core.container.CompositeComponent
org.eclipse.emf.mwe.core.container.ConditionalComponent
org.eclipse.emf.mwe.core.container.IfComponent
- All Implemented Interfaces:
WorkflowConditional
,WorkflowComponent
,WorkflowComponentWithID
,IWorkflowComponent
-
Field Summary
Fields inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent
components, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate()
Returns the log message,void
Sets the condition.Methods inherited from class org.eclipse.emf.mwe.core.container.ConditionalComponent
checkConfiguration, invoke, setElse
Methods inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent
addBean, addCartridge, addComponent, addFeature, addIf, getBridge, getComponentName, getComponents, getContainer, getId, getLocation, getName, getOwnLocation, getResource, invoke, postInvoke, preInvoke, put, setContainer, setId, setLocation, setOwnLocation, setResource
-
Constructor Details
-
IfComponent
public IfComponent()
-
-
Method Details
-
setCond
Sets the condition.- Parameters:
condition
- the condition
-
evaluate
public boolean evaluate()- See Also:
-
getLogMessage
Description copied from interface:WorkflowComponentWithID
Returns the log message,- Specified by:
getLogMessage
in interfaceWorkflowComponentWithID
- Overrides:
getLogMessage
in classCompositeComponent
- Returns:
- the log message
- See Also:
-