public enum ResourceReservationMode extends java.lang.Enum<ResourceReservationMode>
Enum Constant and Description |
---|
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
This mode acts exactly as {
AUTO_ACCEPT for acceptance. |
OWNER_MANAGED
Resource's participation status remains "pending" until the manager accepts
or rejects the invitation.
|
Modifier and Type | Method and Description |
---|---|
static ResourceReservationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceReservationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceReservationMode OWNER_MANAGED
public static final ResourceReservationMode AUTO_ACCEPT
public static final ResourceReservationMode AUTO_ACCEPT_REFUSE
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.public static ResourceReservationMode[] values()
for (ResourceReservationMode c : ResourceReservationMode.values()) System.out.println(c);
public static ResourceReservationMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2021. All Rights Reserved.