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

Field Summary
static String CREATE
           
static String DELETE
           
static String UPDATE
           
 
Method Summary
 void notify(DelegateCaseVariableInstance variableInstance)
           
 

Field Detail

CREATE

static final String CREATE
See Also:
Constant Field Values

UPDATE

static final String UPDATE
See Also:
Constant Field Values

DELETE

static final String DELETE
See Also:
Constant Field Values
Method Detail

notify

void notify(DelegateCaseVariableInstance variableInstance)
            throws Exception
Specified by:
notify in interface VariableListener<DelegateCaseVariableInstance>
Throws:
Exception


Copyright © 2017 camunda services GmbH. All rights reserved.