Class JournalBandanaContext

java.lang.Object
com.atlassian.confluence.impl.journal.JournalBandanaContext
All Implemented Interfaces:
BandanaContext, KeyedBandanaContext, Serializable

@Internal public class JournalBandanaContext extends Object implements KeyedBandanaContext
Bandana context that acts as a namespace for key value pairs for the journal system.
See Also:
  • Constructor Details

    • JournalBandanaContext

      public JournalBandanaContext()
  • Method Details

    • getContextKey

      public String getContextKey()
      Description copied from interface: KeyedBandanaContext
      A string representation of this context.

      This key should be unique as keys are shared across plugins and Confluence itself. Consider using a plugin key or class name.

      Note that if and only if two contexts are equal, their context keys should also be equal.

      Specified by:
      getContextKey in interface KeyedBandanaContext
      Returns:
      a string representation of this context
    • getParentContext

      public BandanaContext getParentContext()
      Specified by:
      getParentContext in interface BandanaContext
      Returns:
      This context's parent, or null if it is a root context.
    • hasParentContext

      public boolean hasParentContext()
      Specified by:
      hasParentContext in interface BandanaContext
      Returns:
      Whether or not this context has a parent context.