Interface StateContext

    • Method Detail

      • getCurrentState

        State getCurrentState()
        Returns:
        the current State. This is only meant for internal use.
      • setCurrentState

        void setCurrentState​(State state)
        Sets the current State. This is only meant for internal use. Don't call it directly!
        Parameters:
        state - the new current State.
      • getAttribute

        java.lang.Object getAttribute​(java.lang.Object key)
        Returns the value of the attribute with the specified key or nullif not found.
        Parameters:
        key - the key.
        Returns:
        the value or null.
      • setAttribute

        void setAttribute​(java.lang.Object key,
                          java.lang.Object value)
        Sets the value of the attribute with the specified key.
        Parameters:
        key - the key.
        value - the value.