Interface Context

All Known Subinterfaces:
RequestContext

public interface Context
The context of an execution
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String identifier)
    Return the value associated with the given identifier in this context
    The unique name of this context
    boolean
    has(String identifier)
    Return true if the given identifier has an associated value in this context
    void
    remove(String identifier)
    Remove the value associated with the given identifier in this context
    void
    set(String identifier, Object value)
    Set a value on this context with this given identifier
  • Method Details

    • getName

      String getName()
      The unique name of this context
    • get

      Object get(String identifier)
      Return the value associated with the given identifier in this context
    • set

      void set(String identifier, Object value)
      Set a value on this context with this given identifier
    • remove

      void remove(String identifier)
      Remove the value associated with the given identifier in this context
    • has

      boolean has(String identifier)
      Return true if the given identifier has an associated value in this context