public final class ExecutionStateTransition extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkTransition(boolean jobManager,
String taskName,
ExecutionState oldState,
ExecutionState newState)
Checks the transition of the execution state and outputs an error in case of an unexpected state transition.
|
public static void checkTransition(boolean jobManager,
String taskName,
ExecutionState oldState,
ExecutionState newState)
jobManager - true to indicate the method is called by the job manager,
false/ to indicate it is called by a task managertaskName - the name of the task whose execution has changedoldState - the old execution statenewState - the new execution stateCopyright © 2014 The Apache Software Foundation. All rights reserved.