Class ProcessDataContext.ProcessDataSections
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.ProcessDataContext.ProcessDataSections
- Enclosing class:
- ProcessDataContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Deque<List<ProcessDataContext.ProcessDataStack>>Keeps track of when we added values to which stack (as we do not add a new value to every stack with every update, but only changed values) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a stack to the current section.voidPops the current section and removes the current values from the referenced stacks (including updates to the MDC)voidAfter a section is sealed, a new section will be created with the next call toaddToCurrentSection(ProcessDataStack)intsize()
-
Field Details
-
sections
Keeps track of when we added values to which stack (as we do not add a new value to every stack with every update, but only changed values) -
currentSectionSealed
protected boolean currentSectionSealed
-
-
Constructor Details
-
ProcessDataSections
protected ProcessDataSections()
-
-
Method Details
-
addToCurrentSection
Adds a stack to the current section. If the current section is already sealed, a new section is created. -
popCurrentSection
public void popCurrentSection()Pops the current section and removes the current values from the referenced stacks (including updates to the MDC) -
sealCurrentSection
public void sealCurrentSection()After a section is sealed, a new section will be created with the next call toaddToCurrentSection(ProcessDataStack) -
size
public int size()
-