Class CoreModelElement
java.lang.Object
org.camunda.bpm.engine.impl.core.model.CoreModelElement
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CoreActivity
,TransitionImpl
- Author:
- Daniel Meyer, Roman Smirnov, Sebastian Menski
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<String,
List<DelegateListener<? extends BaseDelegateExecution>>> contains built-in listenersprotected Map<String,
List<VariableListener<?>>> protected String
protected Map<String,
List<DelegateListener<? extends BaseDelegateExecution>>> contains all listeners (built-in + user-provided)protected String
protected Properties
protected Map<String,
List<VariableListener<?>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuiltInListener
(String eventName, DelegateListener<? extends BaseDelegateExecution> listener) void
addBuiltInListener
(String eventName, DelegateListener<? extends BaseDelegateExecution> listener, int index) void
addBuiltInVariableListener
(String eventName, VariableListener<?> listener) void
addBuiltInVariableListener
(String eventName, VariableListener<?> listener, int index) void
addListener
(String eventName, DelegateListener<? extends BaseDelegateExecution> listener) void
addListener
(String eventName, DelegateListener<? extends BaseDelegateExecution> listener, int index) protected <T> void
addListenerToMap
(Map<String, List<T>> listenerMap, String eventName, T listener, int index) void
addVariableListener
(String eventName, VariableListener<?> listener) void
addVariableListener
(String eventName, VariableListener<?> listener, int index) Map<String,
List<DelegateListener<? extends BaseDelegateExecution>>> List<DelegateListener<? extends BaseDelegateExecution>>
getBuiltInListeners
(String eventName) Map<String,
List<VariableListener<?>>> List<VariableListener<?>>
getBuiltInVariableListenersLocal
(String eventName) getId()
Map<String,
List<DelegateListener<? extends BaseDelegateExecution>>> List<DelegateListener<? extends BaseDelegateExecution>>
getListeners
(String eventName) getName()
Returns the properties of the element.getProperty
(String name) Map<String,
List<VariableListener<?>>> List<VariableListener<?>>
getVariableListenersLocal
(String eventName) void
void
void
setProperties
(Properties properties) void
setProperty
(String name, Object value)
-
Field Details
-
id
-
name
-
properties
-
builtInListeners
contains built-in listeners -
listeners
contains all listeners (built-in + user-provided) -
builtInVariableListeners
-
variableListeners
-
-
Constructor Details
-
CoreModelElement
-
-
Method Details
-
getId
-
getName
-
setProperty
- See Also:
-
getProperty
- See Also:
-
getProperties
Returns the properties of the element.- Returns:
- the properties
-
setProperties
-
setId
-
setName
-
getListeners
-
getBuiltInListeners
public List<DelegateListener<? extends BaseDelegateExecution>> getBuiltInListeners(String eventName) -
getVariableListenersLocal
-
getBuiltInVariableListenersLocal
-
addListener
public void addListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener) -
addBuiltInListener
public void addBuiltInListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener) -
addBuiltInListener
public void addBuiltInListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener, int index) -
addListener
public void addListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener, int index) -
addListenerToMap
-
addVariableListener
-
addVariableListener
-
addBuiltInVariableListener
-
addBuiltInVariableListener
-
getListeners
-
getBuiltInListeners
-
getBuiltInVariableListeners
-
getVariableListeners
-