Enum Class Authorization

java.lang.Object
java.lang.Enum<Authorization>
fr.enedis.chutney.server.core.domain.security.Authorization
All Implemented Interfaces:
Serializable, Comparable<Authorization>, Constable

public enum Authorization extends Enum<Authorization>
  • Enum Constant Details

    • SCENARIO_READ

      public static final Authorization SCENARIO_READ
    • SCENARIO_WRITE

      public static final Authorization SCENARIO_WRITE
    • SCENARIO_EXECUTE

      public static final Authorization SCENARIO_EXECUTE
    • CAMPAIGN_READ

      public static final Authorization CAMPAIGN_READ
    • CAMPAIGN_WRITE

      public static final Authorization CAMPAIGN_WRITE
    • CAMPAIGN_EXECUTE

      public static final Authorization CAMPAIGN_EXECUTE
    • ENVIRONMENT_ACCESS

      public static final Authorization ENVIRONMENT_ACCESS
    • DATASET_READ

      public static final Authorization DATASET_READ
    • DATASET_WRITE

      public static final Authorization DATASET_WRITE
    • ADMIN_ACCESS

      public static final Authorization ADMIN_ACCESS
  • Method Details

    • values

      public static Authorization[] 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 Authorization 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