Package org.eclipse.emf.mwe.core.config
Class FeatureComponent
java.lang.Object
org.eclipse.emf.mwe.core.container.CompositeComponent
org.eclipse.emf.mwe.core.container.ConditionalComponent
org.eclipse.emf.mwe.core.config.FeatureComponent
- 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 TypeMethodDescriptionvoid
checkConfiguration
(Issues issues) Called by the container after configuration so the component can validate the configuration before invocation.boolean
evaluate()
Returns the log message,void
setIsNotSelected
(String name) void
setIsSelected
(String name) Methods inherited from class org.eclipse.emf.mwe.core.container.ConditionalComponent
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
-
FeatureComponent
public FeatureComponent()
-
-
Method Details
-
setIsSelected
-
setIsNotSelected
-
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 classConditionalComponent
- Parameters:
issues
- implementors should report configuration issues to this.- Throws:
ConfigurationException
-
evaluate
public boolean evaluate() -
getLogMessage
Description copied from interface:WorkflowComponentWithID
Returns the log message,- Specified by:
getLogMessage
in interfaceWorkflowComponentWithID
- Overrides:
getLogMessage
in classCompositeComponent
- Returns:
- the log message
-