Class ConditionalComponent
java.lang.Object
org.eclipse.emf.mwe.core.container.CompositeComponent
org.eclipse.emf.mwe.core.container.ConditionalComponent
- All Implemented Interfaces:
WorkflowConditional
,WorkflowComponent
,WorkflowComponentWithID
,IWorkflowComponent
- Direct Known Subclasses:
FeatureComponent
,IfComponent
public abstract class ConditionalComponent
extends CompositeComponent
implements WorkflowConditional
-
Field Summary
Fields inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent
components, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConfiguration
(Issues issues) Called by the container after configuration so the component can validate the configuration before invocation.void
invoke
(WorkflowContext ctx, ProgressMonitor monitor, Issues issues) Dispatches the invocation to all aggregated components.void
setElse
(CompositeComponent comp) Methods inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent
addBean, addCartridge, addComponent, addFeature, addIf, getBridge, getComponentName, getComponents, getContainer, getId, getLocation, getLogMessage, getName, getOwnLocation, getResource, invoke, postInvoke, preInvoke, put, setContainer, setId, setLocation, setOwnLocation, setResource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.emf.mwe.core.container.WorkflowConditional
evaluate
-
Constructor Details
-
ConditionalComponent
-
-
Method Details
-
setElse
-
invoke
Dispatches the invocation to all aggregated components.- Specified by:
invoke
in interfaceWorkflowComponent
- Overrides:
invoke
in classCompositeComponent
- Parameters:
ctx
- current workflow contextmonitor
- implementors should provide some feedback about the progress using this monitor
-
checkConfiguration
Description copied from interface:WorkflowComponent
Called by the container after configuration so the component can validate the configuration before invocation.- Specified by:
checkConfiguration
in interfaceWorkflowComponent
- Overrides:
checkConfiguration
in classCompositeComponent
- Parameters:
issues
- implementors should report configuration issues to this.- Throws:
ConfigurationException
-