org.eclipse.emf.mwe.core.config
Class FeatureComponent

java.lang.Object
  extended by org.eclipse.emf.mwe.core.container.CompositeComponent
      extended by org.eclipse.emf.mwe.core.container.ConditionalComponent
          extended by org.eclipse.emf.mwe.core.config.FeatureComponent
All Implemented Interfaces:
WorkflowConditional, WorkflowComponent, WorkflowComponentWithID, IWorkflowComponent

public class FeatureComponent
extends ConditionalComponent


Field Summary
 
Fields inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent
components, log
 
Constructor Summary
FeatureComponent()
           
 
Method Summary
 void checkConfiguration(Issues issues)
          Called by the container after configuration so the component can validate the configuration before invocation.
 boolean evaluate()
           
 java.lang.String getLogMessage()
          Returns the log message,
 void setIsNotSelected(java.lang.String name)
           
 void setIsSelected(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureComponent

public FeatureComponent()
Method Detail

setIsSelected

public void setIsSelected(java.lang.String name)

setIsNotSelected

public void setIsNotSelected(java.lang.String name)

checkConfiguration

public void checkConfiguration(Issues issues)
                        throws ConfigurationException
Description copied from interface: WorkflowComponent
Called by the container after configuration so the component can validate the configuration before invocation.

Specified by:
checkConfiguration in interface WorkflowComponent
Overrides:
checkConfiguration in class ConditionalComponent
Parameters:
issues - implementors should report configuration issues to this.
Throws:
ConfigurationException

evaluate

public boolean evaluate()

getLogMessage

public java.lang.String getLogMessage()
Description copied from interface: WorkflowComponentWithID
Returns the log message,

Specified by:
getLogMessage in interface WorkflowComponentWithID
Overrides:
getLogMessage in class CompositeComponent
Returns:
the log message