|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.demo.macro.WaitMacro
public class WaitMacro
Allows Thread to wait (block) until this Macro is complete.
This is typically used as last Macro to run for testing to coordinate
running and validating output.
| Constructor Summary | |
|---|---|
WaitMacro()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getConfigurationMemento()
Obtains the configuration memento to reinitialise a new instance of this Macro. |
java.lang.String |
getDisplayLabel()
Obtains the label for displaying this Macro. |
MacroTask[] |
getMacroTasks()
Obtains the listing of MacroTask instances. |
long |
getPostRunWaitTime()
Obtains the time to wait after executing the MacroTask. |
java.awt.Point |
getStartingMouseLocation()
Obtains the Point where the mouse cursor must be to start this
Macro. |
void |
runMacroTask(MacroTaskContext context)
Runs this MacroTask. |
void |
setConfigurationMemento(java.lang.String memento)
Initialises this Macro from the configuration memento. |
void |
waitUntilRun()
Blocks the invoking Thread until this Macro is run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WaitMacro()
| Method Detail |
|---|
public void waitUntilRun()
Thread until this Macro is run.
public java.lang.String getConfigurationMemento()
MacroMacro.
getConfigurationMemento in interface Macropublic void setConfigurationMemento(java.lang.String memento)
MacroMacro from the configuration memento.
setConfigurationMemento in interface Macromemento - Memento containing the configuration.public java.lang.String getDisplayLabel()
MacroMacro.
getDisplayLabel in interface MacroMacro. May return
null for label based on type.public java.awt.Point getStartingMouseLocation()
Macro
Obtains the Point where the mouse cursor must be to start this
Macro.
This allows for visually moving the mouse to this location before running
this Macro.
getStartingMouseLocation in interface MacroPoint where the mouse cursor must be to start this
Macro. null indicates non-mouse
Macro (typically keyboard entry).public MacroTask[] getMacroTasks()
MacroMacroTask instances.
getMacroTasks in interface MacroMacroTask instances.public void runMacroTask(MacroTaskContext context)
MacroTaskMacroTask.
runMacroTask in interface MacroTaskcontext - MacroTaskContext.public long getPostRunWaitTime()
MacroTaskMacroTask.
getPostRunWaitTime in interface MacroTaskMacroTask.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||