Interface Resource.Context

  • Enclosing interface:
    Resource

    public static interface Resource.Context
    Context of a resource state change.
    • Method Detail

      • resource

        Resource resource()
        The resource instance.
        Returns:
        resource instance
      • previousState

        Resource.State previousState()
        The previous state of the resource.
        Returns:
        previous state
      • currentState

        Resource.State currentState()
        The current (new) state of the resource.
        Returns:
        current state