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.
Modifier and Type | Field and Description |
---|---|
static String |
CREATE |
static String |
DELETE |
static String |
UPDATE |
Modifier and Type | Method and Description |
---|---|
void |
notify(DelegateCaseVariableInstance variableInstance) |
static final String CREATE
static final String UPDATE
static final String DELETE
void notify(DelegateCaseVariableInstance variableInstance) throws Exception
notify
in interface VariableListener<DelegateCaseVariableInstance>
Exception
Copyright © 2022. All rights reserved.