Package org.camunda.bpm.engine.delegate
Interface CaseVariableListener
-
- All Superinterfaces:
VariableListener<DelegateCaseVariableInstance>
- All Known Implementing Classes:
ClassDelegateCaseVariableListener
,DelegateExpressionCaseVariableListener
,ExpressionCaseVariableListener
,ScriptCaseVariableListener
public interface CaseVariableListener extends VariableListener<DelegateCaseVariableInstance>
A variable listener can be defined on a scope in a case model. Depending on its configuration, it is invoked when a variable is create/updated/deleted on a case execution that corresponds to that scope or to any of its descendant scopes.
Beware: If you set a variable inside a
VariableListener
implementation, this will result in new variable listener invocations. Make sure that your implementation allows to exit such a cascade as otherwise there will be an infinite loop.- Author:
- Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notify(DelegateCaseVariableInstance variableInstance)
-
-
-
Field Detail
-
CREATE
static final java.lang.String CREATE
- See Also:
- Constant Field Values
-
UPDATE
static final java.lang.String UPDATE
- See Also:
- Constant Field Values
-
DELETE
static final java.lang.String DELETE
- See Also:
- Constant Field Values
-
-
Method Detail
-
notify
void notify(DelegateCaseVariableInstance variableInstance) throws java.lang.Exception
- Specified by:
notify
in interfaceVariableListener<DelegateCaseVariableInstance>
- Throws:
java.lang.Exception
-
-