|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Flow
Represents a flow from one action or trigger to another.
A flow may also have a set of signals to raise if it is followed. A signal is a String. The signal will stay raised until a flow is followed that clears the signal. Signals are only visible to the flow chart that raised the signal.
Action.setSignalsToMonitor(java.util.Set)
Method Summary | |
---|---|
Condition |
getCondition()
Returns the condition for this flow, if any. |
java.util.Set<java.lang.String> |
getSignalsToClear()
Returns the signals that this flow will clear if it is followed. |
java.util.Set<java.lang.String> |
getSignalsToRaise()
Returns the signals that this flow will raise if it is followed. |
Action |
getSourceAction()
Returns the action at the beginning of this flow. |
Action |
getTargetAction()
Returns the action at the end of this flow. |
void |
setCondition(java.lang.String condition)
Sets the condition for this flow, if any. |
void |
setSignalsToClear(java.util.Set<java.lang.String> signals)
Sets the signals that this flow will clear if it is followed. |
void |
setSignalsToRaise(java.util.Set<java.lang.String> signals)
Sets the signals that this flow will raise if it is followed. |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
Condition getCondition()
java.util.Set<java.lang.String> getSignalsToClear()
java.util.Set<java.lang.String> getSignalsToRaise()
Action getSourceAction()
Action getTargetAction()
void setCondition(java.lang.String condition)
condition
- The condition for this flow, possibly null.void setSignalsToClear(java.util.Set<java.lang.String> signals)
signals
- The signals that this flow will clear. A signal is a
non-null, non-empty string.
java.lang.IllegalArgumentException
- If signals is null, if signals contains a
null value, or if signals contains the
empty string.void setSignalsToRaise(java.util.Set<java.lang.String> signals)
signals
- The signals that this flow will raise. A signal is a
non-null, non-empty string.
java.lang.IllegalArgumentException
- If signals is null, if signals contains a
null value, or if signals contains the
empty string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |