Enum Class Statement.VarEffect

java.lang.Object
java.lang.Enum<Statement.VarEffect>
org.iam.policy.grammer.Statement.VarEffect
All Implemented Interfaces:
Serializable, Comparable<Statement.VarEffect>, Constable, StringComparableEnum
Enclosing class:
Statement

public static enum Statement.VarEffect extends Enum<Statement.VarEffect> implements StringComparableEnum
  • Enum Constant Details

  • Method Details

    • values

      public static Statement.VarEffect[] 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 Statement.VarEffect 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
    • getValue

      public String getValue()
      Description copied from interface: StringComparableEnum
      Returns the string value associated with the enum constant.
      Specified by:
      getValue in interface StringComparableEnum
      Returns:
      the string value
    • isValid

      public static boolean isValid(String value)
    • fromString

      public static Statement.VarEffect fromString(String value)