|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.tatool.core.element.AbstractPropertyHolder
ch.tatool.core.element.NodeImpl
ch.tatool.core.element.handler.pause.DefaultExecutionPauseHandler
public class DefaultExecutionPauseHandler
Pauses the execution between two elements.
| Constructor Summary | |
|---|---|
DefaultExecutionPauseHandler()
|
|
| Method Summary | |
|---|---|
long |
getCurrentInterElementPauseDuration()
Get the duration of the pause after the current element execution. |
long |
getDefaultInterElementPauseDuration()
Get the default pause duration between two element executions. |
void |
processExecutionPhase(ExecutionContext event)
|
void |
resetPauseDuration()
Resets the pause duration. |
void |
setCurrentInterElementPauseDuration(long duration)
Overwrite the duration for which the module is paused before execution the next element. |
void |
setDefaultInterElementPauseDuration(long duration)
Set the default duration for which the execution is paused in between two elements. |
| Methods inherited from class ch.tatool.core.element.NodeImpl |
|---|
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent |
| Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder |
|---|
clearProperties, getKeys, getProperty, removeProperty, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.tatool.element.Node |
|---|
getParent, setParent |
| Methods inherited from interface ch.tatool.data.PropertyHolder |
|---|
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty |
| Constructor Detail |
|---|
public DefaultExecutionPauseHandler()
| Method Detail |
|---|
public void processExecutionPhase(ExecutionContext event)
processExecutionPhase in interface ExecutionPhaseListenerpublic void setCurrentInterElementPauseDuration(long duration)
setCurrentInterElementPauseDuration in interface ExecutionPauseHandlerpublic long getCurrentInterElementPauseDuration()
ExecutionPauseHandler
getCurrentInterElementPauseDuration in interface ExecutionPauseHandlerpublic void setDefaultInterElementPauseDuration(long duration)
setDefaultInterElementPauseDuration in interface ExecutionPauseHandlerpublic long getDefaultInterElementPauseDuration()
ExecutionPauseHandler
getDefaultInterElementPauseDuration in interface ExecutionPauseHandlerpublic void resetPauseDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||