Class ProcessDataContext.ProcessDataSections
- java.lang.Object
-
- org.camunda.bpm.engine.impl.interceptor.ProcessDataContext.ProcessDataSections
-
- Enclosing class:
- ProcessDataContext
protected static class ProcessDataContext.ProcessDataSections extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
currentSectionSealed
protected java.util.Deque<java.util.List<ProcessDataContext.ProcessDataStack>>
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)
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProcessDataSections()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToCurrentSection(ProcessDataContext.ProcessDataStack stack)
Adds a stack to the current section.void
popCurrentSection()
Pops the current section and removes the current values from the referenced stacks (including updates to the MDC)void
sealCurrentSection()
After a section is sealed, a new section will be created with the next call toaddToCurrentSection(ProcessDataStack)
int
size()
-
-
-
Field Detail
-
sections
protected java.util.Deque<java.util.List<ProcessDataContext.ProcessDataStack>> 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
-
-
Method Detail
-
addToCurrentSection
public void addToCurrentSection(ProcessDataContext.ProcessDataStack stack)
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()
-
-