Package net.bluemind.resource.api
Enum Class ResourceReservationMode
- All Implemented Interfaces:
Serializable
,Comparable<ResourceReservationMode>
,Constable
Different ways to reserve a resource
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionResource 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).This mode acts exactly as {AUTO_ACCEPT
for acceptance.Resource's participation status remains "pending" until the manager accepts or rejects the invitation. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceReservationMode
Returns the enum constant of this class with the specified name.static ResourceReservationMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OWNER_MANAGED
Resource's participation status remains "pending" until the manager accepts or rejects the invitation. -
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. 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
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
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 nameNullPointerException
- if the argument is null
-