Interface Progressable

    • Method Detail

      • achieved

        default boolean achieved()
        Gets whether this Progressable is achieved.
        Returns:
        Is achieved
      • get

        java.util.Optional<java.time.Instant> get()
        Gets the time that the Progressable was achieved if present.
        Returns:
        The achieving time, if present
      • grant

        java.time.Instant grant()
        Grants this Progressable, if achieved before that time will be returned.
        Returns:
        The achieving time
      • revoke

        java.util.Optional<java.time.Instant> revoke()
        Revokes the Progressable status. The time that the Progressable was achieved before will be returned if present.
        Returns:
        The previous achieving time, if present