ch.tatool.core.element.handler.pause
Class PauseHandlerUtil
java.lang.Object
ch.tatool.core.element.handler.pause.PauseHandlerUtil
public class PauseHandlerUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PauseHandlerUtil
public PauseHandlerUtil()
findExecutionPauseHandler
public static ExecutionPauseHandler findExecutionPauseHandler(ExecutionContext context)
- Finds the deepest ExecutionpauseHandler attached to the current context.
- Parameters:
context - the context to search through
- Returns:
- a handler or null if none is available
setCurrentInterElementPauseDuration
public static boolean setCurrentInterElementPauseDuration(ExecutionContext context,
long duration)
- Sets the current inter pause duration if an ExecutionHandler can be found,
does nothing otherwise.
- Returns:
- whether the duration was successfully set
Copyright © 2012. All Rights Reserved.