Class CmmnActivity
java.lang.Object
org.camunda.bpm.engine.impl.core.model.CoreModelElement
org.camunda.bpm.engine.impl.core.model.CoreActivity
org.camunda.bpm.engine.impl.cmmn.model.CmmnActivity
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CmmnCaseDefinition
- Author:
- Roman Smirnov
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<CmmnActivity>
protected CmmnActivityBehavior
protected CmmnCaseDefinition
protected CmmnElement
protected List<CmmnSentryDeclaration>
protected List<CmmnSentryDeclaration>
protected Map<String,
CmmnActivity> protected CmmnActivity
protected List<CmmnSentryDeclaration>
protected Map<String,
CmmnSentryDeclaration> Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity
ioMapping
Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement
builtInListeners, builtInVariableListeners, id, listeners, name, properties, variableListeners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryCriteria
(CmmnSentryDeclaration entryCriteria) void
addExitCriteria
(CmmnSentryDeclaration exitCriteria) void
addSentry
(CmmnSentryDeclaration sentry) createActivity
(String activityId) findActivity
(String activityId) searches for the activity recursivelygetChildActivity
(String activityId) searches for the activity locallyMap<String,
List<VariableListener<?>>> getVariableListeners
(String eventName, boolean includeCustomListeners) Returns a map of all variable listeners defined on this activity or any of its parents activities.void
setActivityBehavior
(CmmnActivityBehavior behavior) void
setCaseDefinition
(CmmnCaseDefinition caseDefinition) void
setCmmnElement
(CmmnElement cmmnElement) void
setEntryCriteria
(List<CmmnSentryDeclaration> entryCriteria) void
setExitCriteria
(List<CmmnSentryDeclaration> exitCriteria) void
setParent
(CmmnActivity parent) Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity
createActivity, getIoMapping, setIoMapping, toString
Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement
addBuiltInListener, addBuiltInListener, addBuiltInVariableListener, addBuiltInVariableListener, addListener, addListener, addListenerToMap, addVariableListener, addVariableListener, getBuiltInListeners, getBuiltInListeners, getBuiltInVariableListeners, getBuiltInVariableListenersLocal, getId, getListeners, getListeners, getName, getProperties, getProperty, getVariableListeners, getVariableListenersLocal, setId, setName, setProperties, setProperty
-
Field Details
-
activities
-
namedActivities
-
cmmnElement
-
activityBehavior
-
caseDefinition
-
parent
-
sentries
-
sentryMap
-
entryCriteria
-
exitCriteria
-
resolvedVariableListeners
-
resolvedBuiltInVariableListeners
-
-
Constructor Details
-
CmmnActivity
-
-
Method Details
-
createActivity
- Specified by:
createActivity
in classCoreActivity
-
getActivities
- Specified by:
getActivities
in classCoreActivity
-
findActivity
Description copied from class:CoreActivity
searches for the activity recursively- Overrides:
findActivity
in classCoreActivity
-
getChildActivity
Description copied from class:CoreActivity
searches for the activity locally- Specified by:
getChildActivity
in classCoreActivity
-
getActivityBehavior
- Specified by:
getActivityBehavior
in classCoreActivity
-
setActivityBehavior
-
getParent
-
setParent
-
getCaseDefinition
-
setCaseDefinition
-
getCmmnElement
-
setCmmnElement
-
getSentries
-
getSentry
-
addSentry
-
getEntryCriteria
-
setEntryCriteria
-
addEntryCriteria
-
getExitCriteria
-
setExitCriteria
-
addExitCriteria
-
getVariableListeners
public Map<String,List<VariableListener<?>>> getVariableListeners(String eventName, boolean includeCustomListeners) Returns a map of all variable listeners defined on this activity or any of its parents activities. The map's key is the id of the respective activity the listener is defined on.
-