Class ProcessDataContext.ProcessDataStack

    • 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()