public class Script_Flow extends Script_Parallel
Script_Event statements as sub-events. A set of parallel activities are evaluated
and the best true reply over all replies is used. The true condition returns the effector
statement. In this case, the sub-events are of type Script_Case.subEvents, varMapfilter, function, operation, sourceid, internalID, keyLong, name, namespace, objType, parentElement, value| Constructor and Description |
|---|
Script_Flow(org.licas_xml.abs.Element autoXml)
Create a new instance of Script_Flow and add the xml-based description of the
element values.
|
Script_Flow(java.lang.String scriptType,
java.lang.String elemID)
Create a new instance of Script_Flow.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(Script_Invoke parEvent)
Add an event to be run in parallel.
|
boolean |
firstOrBest()
Return true if the element should return the first true reply, false if it
should return the best true reply.
|
boolean |
processThis()
Return true if this specific element contains conditions to evaluate.
|
addEvent, addVariable, getEvents, getVariables, setForUse, toXml, usesSubEventsgetFilter, getFunction, getOperation, getSource, setFilter, setFunction, setOperation, setSourcegetID, getInternalID, getName, getNamespace, getObjType, getParent, getScriptUuid, getValue, setNamespace, setObjType, setParent, setValue, setValuepublic Script_Flow(java.lang.String scriptType,
java.lang.String elemID)
scriptType - the script element type. This is also the element tag name
and should not be null.elemID - this is the external id used to identify this element specifically. The
element is also stored under this value and so it cannot be null.public Script_Flow(org.licas_xml.abs.Element autoXml)
throws java.lang.Exception
autoXml - the xml-based description of values to add.java.lang.Exception - any error.public boolean firstOrBest()
firstOrBest in class Script_Parallelpublic void addEvent(Script_Invoke parEvent)
parEvent - the event to add.public boolean processThis()
processThis in class Script_Element