Enum AbstractManagedPendingService.State

java.lang.Object
java.lang.Enum<AbstractManagedPendingService.State>
ru.progrm_jarvis.javacommons.service.AbstractManagedPendingService.State
All Implemented Interfaces:
Serializable, Comparable<AbstractManagedPendingService.State>
Enclosing class:
AbstractManagedPendingService<O,S,R>

protected static enum AbstractManagedPendingService.State extends Enum<AbstractManagedPendingService.State>
States in which this service can be.
  • Enum Constant Details

  • Method Details

    • values

      public static AbstractManagedPendingService.State[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AbstractManagedPendingService.State valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • canRequest

      public boolean canRequest()
      Flag indicating whether new own-requests can happen
    • canClose

      public boolean canClose()
      Flag indicating whether owned services can still be closed