|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.mwe.core.container.CompositeComponent org.eclipse.emf.mwe.core.container.ConditionalComponent
public abstract class ConditionalComponent
Field Summary |
---|
Fields inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent |
---|
components, log |
Constructor Summary | |
---|---|
ConditionalComponent(java.lang.String name)
|
Method Summary | |
---|---|
void |
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 Detail |
---|
public ConditionalComponent(java.lang.String name)
Method Detail |
---|
public void setElse(CompositeComponent comp)
public void invoke(WorkflowContext ctx, ProgressMonitor monitor, Issues issues)
invoke
in interface WorkflowComponent
invoke
in class CompositeComponent
ctx
- current workflow contextmonitor
- implementors should provide some feedback about the progress
using this monitorpublic void checkConfiguration(Issues issues) throws ConfigurationException
WorkflowComponent
checkConfiguration
in interface WorkflowComponent
checkConfiguration
in class CompositeComponent
issues
- implementors should report configuration issues to this.
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |