org.openarchitectureware.workflow.config
Class FeatureComponent

java.lang.Object
  extended by org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
      extended by org.openarchitectureware.workflow.container.CompositeComponent
          extended by org.openarchitectureware.workflow.container.ConditionalComponent
              extended by org.openarchitectureware.workflow.config.FeatureComponent
All Implemented Interfaces:
WorkflowConditional, WorkflowComponent, WorkflowComponentWithID

public class FeatureComponent
extends ConditionalComponent


Field Summary
 
Fields inherited from class org.openarchitectureware.workflow.container.CompositeComponent
components, log
 
Constructor Summary
FeatureComponent()
           
 
Method Summary
 void checkConfiguration(Issues issues)
          Validates 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.openarchitectureware.workflow.container.ConditionalComponent
invoke, setElse
 
Methods inherited from class org.openarchitectureware.workflow.container.CompositeComponent
addBean, addCartridge, addComponent, addFeature, addIf, getComponentName, getComponents, getContainer, getId, getLocation, getName, getOwnLocation, getResource, put, setContainer, setId, setLocation, setOwnLocation, setResource
 
Methods inherited from class org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
checkRequiredConfigProperty
 
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
Validates the configuration before invocation.

Specified by:
checkConfiguration in interface WorkflowComponent
Overrides:
checkConfiguration in class CompositeComponent
Parameters:
issues - facility for reporting configuration issues.
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
See Also:
AbstractWorkflowComponent.getLogMessage()