public class Script_Wait extends Script_Execute
subEvents, varMapfilter, function, operation, sourceid, internalID, keyLong, name, namespace, objType, parentElement, value| Constructor and Description |
|---|
Script_Wait(org.licas_xml.abs.Element autoXml)
Create a new instance of Script_Wait and add the xml-based description of the
element values.
|
Script_Wait(java.lang.String scriptType,
java.lang.String elemID)
Create a new instance of Script_Wait.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Execute this self-contained script element.
|
long |
getDelay()
Get the delay time in milliseconds.
|
void |
setDelay(long timeMillisec)
Set the delay time value in milliseconds.
|
processThisaddEvent, 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_Wait(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_Wait(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 void setDelay(long timeMillisec)
timeMillisec - the time in milliseconds.public long getDelay()
public boolean execute()
execute in class Script_Execute