org.eclipse.emf.mwe.core.container
Class IfComponent

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.container.IfComponent
All Implemented Interfaces:
WorkflowConditional, WorkflowComponent, WorkflowComponentWithID, IWorkflowComponent

public class IfComponent
extends ConditionalComponent


Field Summary
 
Fields inherited from class org.eclipse.emf.mwe.core.container.CompositeComponent
components, log
 
Constructor Summary
IfComponent()
           
 
Method Summary
 boolean evaluate()
           
 java.lang.String getLogMessage()
          Returns the log message,
 void setCond(java.lang.String condition)
          Sets the condition.
 
Methods inherited from class org.eclipse.emf.mwe.core.container.ConditionalComponent
checkConfiguration, 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

IfComponent

public IfComponent()
Method Detail

setCond

public void setCond(java.lang.String condition)
Sets the condition.

Parameters:
condition - the condition

evaluate

public boolean evaluate()
See Also:
WorkflowConditional.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:
CompositeComponent.getLogMessage()