Class ProcessDataContext.ProcessDataStack
- java.lang.Object
-
- org.camunda.bpm.engine.impl.interceptor.ProcessDataContext.ProcessDataStack
-
- Enclosing class:
- ProcessDataContext
protected static class ProcessDataContext.ProcessDataStack extends Object
-
-
Constructor Summary
Constructors Constructor Description ProcessDataStack(String mdcName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearMdcProperty()
String
getCurrentValue()
boolean
isEmpty()
void
pushCurrentValue(String value)
boolean
pushCurrentValueFromMdc()
void
removeCurrentValue()
void
updateMdcWithCurrentValue()
-
-
-
Constructor Detail
-
ProcessDataStack
public ProcessDataStack(String mdcName)
- Parameters:
mdcName
- is optional. If present, any additions to a stack will also be reflected in the MDC context
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getCurrentValue
public String getCurrentValue()
-
pushCurrentValue
public void pushCurrentValue(String value)
-
pushCurrentValueFromMdc
public boolean pushCurrentValueFromMdc()
- Returns:
- true if a value was obtained from the mdc and added to the stack
-
removeCurrentValue
public void removeCurrentValue()
-
clearMdcProperty
public void clearMdcProperty()
-
updateMdcWithCurrentValue
public void updateMdcWithCurrentValue()
-
-