code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
public boolean isSatisfied() { return satisfied; }
This query is currently not public API on purpose. @author Roman Smirnov
isSatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/entity/runtime/CaseSentryPartQueryImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/entity/runtime/CaseSentryPartQueryImpl.java
Apache-2.0
public CmmnExecution findCaseExecution(String activityId) { if ((getActivity()!=null) && (getActivity().getId().equals(activityId))) { return this; } for (CmmnExecution nestedExecution : getCaseExecutions()) { CmmnExecution result = nestedExecution.findCaseExecution(activityId); if (result != n...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
findCaseExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public TaskEntity getTask() { return this.task; }
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
getTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setTask(Task task) { this.task = (TaskEntity) task; }
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
setTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public TaskEntity createTask(TaskDecorator taskDecorator) { TaskEntity task = new TaskEntity((CaseExecutionEntity) this); task.insert(); setTask(task); taskDecorator.decorate(task, this); // task decoration is part of the initialization of the task, // so we transition to CREATED only afterwar...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
createTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void createSentryParts() { CmmnActivity activity = getActivity(); ensureNotNull("Case execution '"+id+"': has no current activity", "activity", activity); List<CmmnSentryDeclaration> sentries = activity.getSentries(); if (sentries != null && !sentries.isEmpty()) { for (CmmnSentryDeclarat...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
createSentryParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected CmmnSentryPart createOnPart(CmmnSentryDeclaration sentryDeclaration, CmmnOnPartDeclaration onPartDeclaration) { CmmnSentryPart sentryPart = createSentryPart(sentryDeclaration, PLAN_ITEM_ON_PART); // set the standard event String standardEvent = onPartDeclaration.getStandardEvent(); sentryPart...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
createOnPart
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected CmmnSentryPart createIfPart(CmmnSentryDeclaration sentryDeclaration, CmmnIfPartDeclaration ifPartDeclaration) { return createSentryPart(sentryDeclaration, IF_PART); }
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
createIfPart
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected CmmnSentryPart createVariableOnPart(CmmnSentryDeclaration sentryDeclaration, CmmnVariableOnPartDeclaration variableOnPartDeclaration) { CmmnSentryPart sentryPart = createSentryPart(sentryDeclaration, VARIABLE_ON_PART); // set the variable event String variableEvent = variableOnPartDeclaration.get...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
createVariableOnPart
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected CmmnSentryPart createSentryPart(CmmnSentryDeclaration sentryDeclaration, String type) { CmmnSentryPart newSentryPart = newSentryPart(); // set the type newSentryPart.setType(type); // set the case instance and case execution newSentryPart.setCaseInstance(getCaseInstance()); newSentry...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
createSentryPart
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void handleChildTransition(CmmnExecution child, String transition) { // Step 1: collect all affected sentries List<String> affectedSentries = collectAffectedSentries(child, transition); // Step 2: fire force update on all case sentry part // contained by a affected sentry to provoke an // Op...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
handleChildTransition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void fireIfOnlySentryParts() { // the following steps are a workaround, because setVariable() // does not check nor fire a sentry!!! Set<String> affectedSentries = new HashSet<String>(); List<CmmnSentryPart> sentryParts = collectSentryParts(getSentries()); for (CmmnSentryPart sentryPart : sen...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
fireIfOnlySentryParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void handleVariableTransition(String variableName, String transition) { Map<String, List<CmmnSentryPart>> sentries = collectAllSentries(); List<CmmnSentryPart> sentryParts = collectSentryParts(sentries); List<String> affectedSentries = collectAffectedSentriesWithVariableOnParts(variableName, transi...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
handleVariableTransition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected List<String> collectAffectedSentries(CmmnExecution child, String transition) { List<? extends CmmnSentryPart> sentryParts = getCaseSentryParts(); List<String> affectedSentries = new ArrayList<String>(); for (CmmnSentryPart sentryPart : sentryParts) { // necessary for backward compatibilit...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
collectAffectedSentries
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected boolean isNotSatisfiedIfPartOnly(CmmnSentryPart sentryPart) { return IF_PART.equals(sentryPart.getType()) && getSentries().get(sentryPart.getSentryId()).size() == 1 && !sentryPart.isSatisfied(); }
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
isNotSatisfiedIfPartOnly
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void addIdIfNotSatisfied(List<String> affectedSentries, CmmnSentryPart sentryPart) { if (!sentryPart.isSatisfied()) { // if it is not already satisfied, then set the // current case sentry part to satisfied (=true). String sentryId = sentryPart.getSentryId(); sentryPart.setSatisfie...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
addIdIfNotSatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected List<String> collectAffectedSentriesWithVariableOnParts(String variableName, String variableEvent, List<CmmnSentryPart> sentryParts) { List<String> affectedSentries = new ArrayList<String>(); for (CmmnSentryPart sentryPart : sentryParts) { String sentryVariableName = sentryPart.getVariableNam...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
collectAffectedSentriesWithVariableOnParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected boolean hasVariableWithSameNameInParent(CmmnExecution execution, String variableName) { while(execution != null) { if (execution.getId().equals(getId())) { return false; } TypedValue variableTypedValue = execution.getVariableLocalTyped(variableName); if (variableTypedValue ...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
hasVariableWithSameNameInParent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected Map<String,List<CmmnSentryPart>> collectAllSentries() { Map<String,List<CmmnSentryPart>> sentries = new HashMap<String, List<CmmnSentryPart>>(); List<? extends CmmnExecution> caseExecutions = getCaseExecutions(); for(CmmnExecution caseExecution: caseExecutions) { sentries.putAll(caseExecutio...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
collectAllSentries
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected List<CmmnSentryPart> getAffectedSentryParts(Map<String,List<CmmnSentryPart>> allSentries, List<String> affectedSentries) { List<CmmnSentryPart> affectedSentryParts = new ArrayList<CmmnSentryPart>(); for(String affectedSentryId: affectedSentries) { affectedSentryParts.addAll(allSentries.get(affec...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
getAffectedSentryParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected List<CmmnSentryPart> collectSentryParts(Map<String,List<CmmnSentryPart>> sentries) { List<CmmnSentryPart> sentryParts = new ArrayList<CmmnSentryPart>(); for(String sentryId: sentries.keySet()) { sentryParts.addAll(sentries.get(sentryId)); } return sentryParts; }
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
collectSentryParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void forceUpdateOnCaseSentryParts(List<CmmnSentryPart> sentryParts) { // set for each case sentry part forceUpdate flag to true to provoke // an OptimisticLockingException if different case sentry parts of the // same sentry has been satisfied concurrently. for (CmmnSentryPart sentryPart : sen...
This property will be used if <code>this</code> {@link CmmnExecution} is in state {@link CaseExecutionState#NEW} to note that an entry criterion is satisfied.
forceUpdateOnCaseSentryParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected List<String> getSatisfiedSentries(List<String> sentryIds) { List<String> result = new ArrayList<String>(); if (sentryIds != null) { for (String sentryId : sentryIds) { if (isSentrySatisfied(sentryId)) { result.add(sentryId); } } } return result; }
Checks for each given sentry id whether the corresponding sentry is satisfied.
getSatisfiedSentries
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected List<String> getSatisfiedSentriesInExecutionTree(List<String> sentryIds, Map<String, List<CmmnSentryPart>> allSentries) { List<String> result = new ArrayList<String>(); if (sentryIds != null) { for (String sentryId : sentryIds) { List<CmmnSentryPart> sentryParts = allSentries.get(sentr...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
getSatisfiedSentriesInExecutionTree
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void forceUpdateOnSentries(List<String> sentryIds) { for (String sentryId : sentryIds) { List<? extends CmmnSentryPart> sentryParts = findSentry(sentryId); // set for each case sentry part forceUpdate flag to true to provoke // an OptimisticLockingException if different case sentry parts...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
forceUpdateOnSentries
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void resetSentries(List<String> sentries) { for (String sentry : sentries) { List<CmmnSentryPart> parts = getSentries().get(sentry); for (CmmnSentryPart part : parts) { part.setSatisfied(false); } } }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
resetSentries
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void resetSentryParts(List<CmmnSentryPart> parts) { for (CmmnSentryPart part : parts) { part.setSatisfied(false); } }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
resetSentryParts
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void fireSentries(List<String> satisfiedSentries) { if (satisfiedSentries != null && !satisfiedSentries.isEmpty()) { // if there are satisfied sentries, trigger the associated // case executions // 1. propagate to all child case executions /////////////////////////////////////////// ...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
fireSentries
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void collectCaseExecutionsInExecutionTree(List<CmmnExecution> children) { for(CmmnExecution child: getCaseExecutions()) { child.collectCaseExecutionsInExecutionTree(children); } children.addAll(getCaseExecutions()); }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
collectCaseExecutionsInExecutionTree
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void checkAndFireExitCriteria(List<String> satisfiedSentries) { if (isActive()) { CmmnActivity activity = getActivity(); ensureNotNull(PvmException.class, "Case execution '"+getId()+"': has no current activity.", "activity", activity); // trigger first exitCriteria List<CmmnSentry...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
checkAndFireExitCriteria
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void checkAndFireEntryCriteria(List<String> satisfiedSentries) { if (isAvailable() || isNew()) { // do that only, when this child case execution // is available CmmnActivity activity = getActivity(); ensureNotNull(PvmException.class, "Case execution '"+getId()+"': has no current a...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
checkAndFireEntryCriteria
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isSentrySatisfied(String sentryId) { List<? extends CmmnSentryPart> sentryParts = findSentry(sentryId); return isSentryPartsSatisfied(sentryId, sentryParts); }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
isSentrySatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected boolean isSentryPartsSatisfied(String sentryId, List<? extends CmmnSentryPart> sentryParts) { // if part will be evaluated in the end CmmnSentryPart ifPart = null; if (sentryParts != null && !sentryParts.isEmpty()) { for (CmmnSentryPart sentryPart : sentryParts) { if (PLAN_ITEM_ON_...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
isSentryPartsSatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected boolean containsIfPartAndExecutionActive(String sentryId, Map<String,List<CmmnSentryPart>> sentries) { List<? extends CmmnSentryPart> sentryParts = sentries.get(sentryId); for (CmmnSentryPart part : sentryParts) { CmmnExecution caseExecution = part.getCaseExecution(); if (IF_PART.equals(p...
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
containsIfPartAndExecutionActive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isEntryCriterionSatisfied() { return entryCriterionSatisfied; }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
isEntryCriterionSatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public String getCaseBusinessKey() { return getCaseInstance().getBusinessKey(); }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
getCaseBusinessKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
@Override public String getBusinessKey() { if (this.isCaseInstanceExecution()) { return businessKey; } else return getCaseBusinessKey(); }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
getBusinessKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public CmmnCaseDefinition getCaseDefinition() { return caseDefinition; }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
getCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setCaseDefinition(CmmnCaseDefinition caseDefinition) { this.caseDefinition = caseDefinition; }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied.
setCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isCaseInstanceExecution() { return getParent() == null; }
ensures initialization and returns the process instance.
isCaseInstanceExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public String getCaseInstanceId() { return getCaseInstance().getId(); }
ensures initialization and returns the process instance.
getCaseInstanceId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public CmmnActivity getActivity() { return activity; }
ensures initialization and returns the activity
getActivity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setActivity(CmmnActivity activity) { this.activity = activity; }
ensures initialization and returns the activity
setActivity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
@Override public String getVariableScopeKey() { return "caseExecution"; }
ensures initialization and returns the activity
getVariableScopeKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public AbstractVariableScope getParentVariableScope() { return getParent(); }
ensures initialization and returns the activity
getParentVariableScope
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void remove() { CmmnExecution parent = getParent(); if (parent!=null) { parent.getCaseExecutionsInternal().remove(this); } }
ensures initialization and returns the activity
remove
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isRequired() { return required; }
ensures initialization and returns the activity
isRequired
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setRequired(boolean required) { this.required = required; }
ensures initialization and returns the activity
setRequired
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public CaseExecutionState getCurrentState() { return CaseExecutionState.CASE_EXECUTION_STATES.get(getState()); }
ensures initialization and returns the activity
getCurrentState
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setCurrentState(CaseExecutionState currentState) { if (!isSuspending() && !isTerminating()) { // do not reset the previous state, if this case execution // is currently terminating or suspending. otherwise the // "real" previous state is lost. previousState = this.currentState; ...
ensures initialization and returns the activity
setCurrentState
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public int getState() { return currentState; }
ensures initialization and returns the activity
getState
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setState(int state) { this.currentState = state; }
ensures initialization and returns the activity
setState
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isNew() { return currentState == NEW.getStateCode(); }
ensures initialization and returns the activity
isNew
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isAvailable() { return currentState == AVAILABLE.getStateCode(); }
ensures initialization and returns the activity
isAvailable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isEnabled() { return currentState == ENABLED.getStateCode(); }
ensures initialization and returns the activity
isEnabled
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isDisabled() { return currentState == DISABLED.getStateCode(); }
ensures initialization and returns the activity
isDisabled
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isActive() { return currentState == ACTIVE.getStateCode(); }
ensures initialization and returns the activity
isActive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isCompleted() { return currentState == COMPLETED.getStateCode(); }
ensures initialization and returns the activity
isCompleted
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isSuspended() { return currentState == SUSPENDED.getStateCode(); }
ensures initialization and returns the activity
isSuspended
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isSuspending() { return currentState == SUSPENDING_ON_SUSPENSION.getStateCode() || currentState == SUSPENDING_ON_PARENT_SUSPENSION.getStateCode(); }
ensures initialization and returns the activity
isSuspending
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isTerminated() { return currentState == TERMINATED.getStateCode(); }
ensures initialization and returns the activity
isTerminated
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isTerminating() { return currentState == TERMINATING_ON_TERMINATION.getStateCode() || currentState == TERMINATING_ON_PARENT_TERMINATION.getStateCode() || currentState == TERMINATING_ON_EXIT.getStateCode(); }
ensures initialization and returns the activity
isTerminating
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isFailed() { return currentState == FAILED.getStateCode(); }
ensures initialization and returns the activity
isFailed
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public boolean isClosed() { return currentState == CLOSED.getStateCode(); }
ensures initialization and returns the activity
isClosed
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public CaseExecutionState getPreviousState() { return CaseExecutionState.CASE_EXECUTION_STATES.get(getPrevious()); }
ensures initialization and returns the activity
getPreviousState
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public int getPrevious() { return previousState; }
ensures initialization and returns the activity
getPrevious
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void setPrevious(int previous) { this.previousState = previous; }
ensures initialization and returns the activity
setPrevious
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void create(Map<String, Object> variables) { if(variables != null) { setVariables(variables); } performOperation(CASE_INSTANCE_CREATE); }
ensures initialization and returns the activity
create
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public List<CmmnExecution> createChildExecutions(List<CmmnActivity> activities) { List<CmmnExecution> children = new ArrayList<CmmnExecution>(); // first create new child case executions for (CmmnActivity currentActivity : activities) { CmmnExecution child = createCaseExecution(currentActivity); ...
ensures initialization and returns the activity
createChildExecutions
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void triggerChildExecutionsLifecycle(List<CmmnExecution> children) { // then notify create listener for each created // child case execution for (CmmnExecution child : children) { if (isActive()) { if (child.isNew()) { child.performOperation(CASE_EXECUTION_CREATE); } ...
ensures initialization and returns the activity
triggerChildExecutionsLifecycle
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public void dispatchEvent(VariableEvent variableEvent) { boolean invokeCustomListeners = Context .getProcessEngineConfiguration() .isInvokeCustomVariableListeners(); Map<String, List<VariableListener<?>>> listeners = getActivity() .getVariableListeners(variableEvent.getEvent...
ensures initialization and returns the activity
dispatchEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void queueVariableEvent(VariableEvent variableEvent, boolean includeCustomerListeners) { Queue<VariableEvent> variableEventsQueue = getVariableEventQueue(); variableEventsQueue.add(variableEvent); // if this is the first event added, trigger listener invocation if (variableEventsQueue.size(...
ensures initialization and returns the activity
queueVariableEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected void invokeVariableListeners(boolean includeCustomerListeners) { Queue<VariableEvent> variableEventsQueue = getVariableEventQueue(); while (!variableEventsQueue.isEmpty()) { // do not remove the event yet, as otherwise new events will immediately be dispatched VariableEvent nextEvent = va...
ensures initialization and returns the activity
invokeVariableListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected Queue<VariableEvent> getVariableEventQueue() { if (variableEventsQueue == null) { variableEventsQueue = new LinkedList<VariableEvent>(); } return variableEventsQueue; }
ensures initialization and returns the activity
getVariableEventQueue
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public String toString() { if (isCaseInstanceExecution()) { return "CaseInstance["+getToStringIdentity()+"]"; } else { return "CmmnExecution["+getToStringIdentity() + "]"; } }
ensures initialization and returns the activity
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
protected String getToStringIdentity() { return id; }
ensures initialization and returns the activity
getToStringIdentity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnExecution.java
Apache-2.0
public String getStandardEvent() { return standardEvent; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
getStandardEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public void setStandardEvent(String standardEvent) { this.standardEvent = standardEvent; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
setStandardEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public boolean isSatisfied() { return satisfied; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
isSatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public void setSatisfied(boolean satisfied) { this.satisfied = satisfied; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
setSatisfied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public String getVariableEvent() { return variableEvent; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
getVariableEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public void setVariableEvent(String variableEvent) { this.variableEvent = variableEvent; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
setVariableEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public String getVariableName() { return variableName; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
getVariableName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public void setVariableName(String variableName) { this.variableName = variableName; }
@deprecated since 7.4 A new instance of a sentry does not reference the source case execution id anymore.
setVariableName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/execution/CmmnSentryPart.java
Apache-2.0
public CmmnModelInstance getModel() { return model; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
getModel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public void setModel(CmmnModelInstance model) { this.model = model; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
setModel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public CmmnCaseDefinition getCaseDefinition() { return caseDefinition; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
getCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public void setCaseDefinition(CmmnCaseDefinition caseDefinition) { this.caseDefinition = caseDefinition; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
setCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public CmmnActivity getParent() { return parent; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
getParent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public void setParent(CmmnActivity parent) { this.parent = parent; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
setParent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public Deployment getDeployment() { return deployment; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
getDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public void setDeployment(Deployment deployment) { this.deployment = deployment; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
setDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public ExpressionManager getExpressionManager() { return expressionManager; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
getExpressionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public void setExpressionManager(ExpressionManager expressionManager) { this.expressionManager = expressionManager; }
<p>This context contains necessary information (like caseDefinition) to be accessed by a {@link CmmnHandlerContext}.</p> @author Roman Smirnov
setExpressionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CmmnHandlerContext.java
Apache-2.0
public String getExpressionText() { return expression.getExpressionText(); }
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
getExpressionText
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/DelegateExpressionCaseExecutionListener.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/DelegateExpressionCaseExecutionListener.java
Apache-2.0
public List<FieldDeclaration> getFieldDeclarations() { return fieldDeclarations; }
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
getFieldDeclarations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/DelegateExpressionCaseExecutionListener.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/DelegateExpressionCaseExecutionListener.java
Apache-2.0
public String getExpressionText() { return expression.getExpressionText(); }
Returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
getExpressionText
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/ExpressionCaseExecutionListener.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/ExpressionCaseExecutionListener.java
Apache-2.0
public void notify(DelegateCaseExecution caseExecution) throws Exception { ScriptInvocation invocation = new ScriptInvocation(script, caseExecution); Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
An {@link CaseExecutionListener} which invokes a {@link ExecutableScript} when notified. @author Roman Smirnov @author Sebastian Menski
notify
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/ScriptCaseExecutionListener.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/ScriptCaseExecutionListener.java
Apache-2.0
public ExecutableScript getScript() { return script; }
An {@link CaseExecutionListener} which invokes a {@link ExecutableScript} when notified. @author Roman Smirnov @author Sebastian Menski
getScript
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/ScriptCaseExecutionListener.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/listener/ScriptCaseExecutionListener.java
Apache-2.0
public Map<String, List<VariableListener<?>>> getVariableListeners(String eventName, boolean includeCustomListeners) { Map<String, Map<String, List<VariableListener<?>>>> listenerCache; if (includeCustomListeners) { if (resolvedVariableListeners == null) { resolvedVariableListeners = new HashMap<S...
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.
getVariableListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/model/CmmnActivity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/model/CmmnActivity.java
Apache-2.0