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