Enum Class ResourceReservationMode

java.lang.Object
java.lang.Enum<ResourceReservationMode>
net.bluemind.resource.api.ResourceReservationMode
All Implemented Interfaces:
Serializable, Comparable<ResourceReservationMode>, Constable

public enum ResourceReservationMode extends Enum<ResourceReservationMode>
Different ways to reserve a resource
  • Enum Constant Details

    • OWNER_MANAGED

      public static final ResourceReservationMode OWNER_MANAGED
      Resource's participation status remains "pending" until the manager accepts or rejects the invitation.
    • AUTO_ACCEPT

      public static final ResourceReservationMode AUTO_ACCEPT
      Resource manager receives booking requests and participation is confirmed automatically if the resource is available for the requested timeslot (within working hours and no other booking confirmed).
    • AUTO_ACCEPT_REFUSE

      public static final ResourceReservationMode AUTO_ACCEPT_REFUSE
      This mode acts exactly as { AUTO_ACCEPT for acceptance. However, with this mode, the resource manager receives booking requests and participation is rejected automatically if the resource is not available for the requested timeslot.
  • Method Details

    • values

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

      public static ResourceReservationMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null