public class ElseIf extends Action
| Constructor and Description |
|---|
ElseIf()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
String |
getCond()
Get the conditional expression.
|
void |
setCond(String cond)
Set the conditional expression.
|
getNamespaces, getNamespacesKey, getParent, getParentState, getParentTransitionTarget, setNamespaces, setParentpublic final String getCond()
public final void setCond(String cond)
cond - The cond to set.public void execute(EventDispatcher evtDispatcher, ErrorReporter errRep, SCInstance scInstance, org.apache.commons.logging.Log appLog, Collection derivedEvents) throws ModelException, SCXMLExpressionException
execute in class ActionevtDispatcher - The EventDispatcher for this execution instanceerrRep - The ErrorReporter to broadcast any errors
during execution.scInstance - The state machine execution instance information.appLog - The application Log.derivedEvents - The collection to which any internal events
arising from the execution of this action
must be added.ModelException - If the execution causes the model to enter
a non-deterministic state.SCXMLExpressionException - If the execution involves trying
to evaluate an expression which is malformed.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.