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

public static enum ConsentScope.StorageMode extends Enum<ConsentScope.StorageMode>
The scope within which the consent is valid
Author:
florian
  • Enum Constant Details

    • LOCAL

      public static final ConsentScope.StorageMode LOCAL
      Consent is valid for a single browser and stored it its local storage
    • SESSION

      public static final ConsentScope.StorageMode SESSION
      Consent is valid for a single browser session and stored in the browser's session storage
  • Method Details

    • values

      public static ConsentScope.StorageMode[] 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 ConsentScope.StorageMode 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