Enum Class ConsentScope.StorageMode
java.lang.Object
java.lang.Enum<ConsentScope.StorageMode>
io.goobi.viewer.model.administration.legal.ConsentScope.StorageMode
- All Implemented Interfaces:
Serializable
,Comparable<ConsentScope.StorageMode>
,Constable
- Enclosing class:
- ConsentScope
The scope within which the consent is valid
- Author:
- florian
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConsentScope.StorageMode
Returns the enum constant of this class with the specified name.static ConsentScope.StorageMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCAL
Consent is valid for a single browser and stored it its local storage -
SESSION
Consent is valid for a single browser session and stored in the browser's session storage
-
-
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
-