|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.data.Guards
public final class Guards
Utility class for checks in guards.
| Field Summary | |
|---|---|
static Map<String,Object> |
MAP_SKIP_GUARDS
|
static String |
VARIABLE_SKIP_GUARDS
|
| Constructor Summary | |
|---|---|
Guards()
|
|
| Method Summary | |
|---|---|
static void |
checkIsSet(org.camunda.bpm.engine.delegate.DelegateExecution execution,
String variableName)
Checks, if a variable with specified name is set (global and local). |
static void |
checkIsSetGlobal(org.camunda.bpm.engine.delegate.DelegateExecution execution,
String variableName)
Checks, if a global variable with specified name is set. |
static void |
checkIsSetLocal(org.camunda.bpm.engine.delegate.DelegateExecution execution,
String variableName)
Checks, if a local variable with specified name is set. |
static void |
dispatch(Guard guard,
String eventName,
org.camunda.bpm.engine.delegate.DelegateExecution execution)
Helper method for event dispatch. |
static boolean |
skipGuards(org.camunda.bpm.engine.delegate.DelegateExecution execution)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VARIABLE_SKIP_GUARDS
public static final Map<String,Object> MAP_SKIP_GUARDS
| Constructor Detail |
|---|
public Guards()
| Method Detail |
|---|
public static void dispatch(Guard guard,
String eventName,
org.camunda.bpm.engine.delegate.DelegateExecution execution)
TaskGuard and
ActivityGuard
guard - guard to be used for checks.eventName - event from camunda listener.execution - process execution.public static boolean skipGuards(org.camunda.bpm.engine.delegate.DelegateExecution execution)
public static void checkIsSetLocal(org.camunda.bpm.engine.delegate.DelegateExecution execution,
String variableName)
execution - process execution.variableName - name of the variable to check.
public static void checkIsSet(org.camunda.bpm.engine.delegate.DelegateExecution execution,
String variableName)
execution - process execution.variableName - name of the variable to check.
public static void checkIsSetGlobal(org.camunda.bpm.engine.delegate.DelegateExecution execution,
String variableName)
execution - process execution.variableName - name of the variable to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||