Package com.tailf.dp

Enum Class AuthorizationOperCheck

Object
Enum<AuthorizationOperCheck>
com.tailf.dp.AuthorizationOperCheck
All Implemented Interfaces:
Serializable, Comparable<AuthorizationOperCheck>, Constable

public enum AuthorizationOperCheck extends Enum<AuthorizationOperCheck>
AuthorizationOperCheck used as argument to authorization callbacks. They are also used defined as access filters
  • Enum Constant Details

    • READ

      public static final AuthorizationOperCheck READ
      Read access.
    • EXECUTE

      public static final AuthorizationOperCheck EXECUTE
      Execute access
    • CREATE

      public static final AuthorizationOperCheck CREATE
      Create access
    • UPDATE

      public static final AuthorizationOperCheck UPDATE
      Update access
    • DELETE

      public static final AuthorizationOperCheck DELETE
      Delete access
    • WRITE

      public static final AuthorizationOperCheck WRITE
      Write access. This is used when the specific write operation (create/update/delete) isnĀ“t known yet, e.g. in CLI command completion or processing of a NETCONF edit-config
    • INTERMEDIATE

      public static final AuthorizationOperCheck INTERMEDIATE
      "How" parameter, Access to the given data node or its descendants is requested. This is used e.g. in CLI command completion or processing of a NETCONF edit-config
    • FINAL

      public static final AuthorizationOperCheck FINAL
      "How" parameter, Access to the specific data node is requested.
  • Method Details

    • values

      public static AuthorizationOperCheck[] 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 AuthorizationOperCheck 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 int getValue()
      Get the int value representation of this authorization operation check
      Returns:
      int value
    • getType

      public static AuthorizationOperCheck getType(int l)
      Get a AuthorizationOperationCheck for given int value or null if the int value does not represent a enum.
      Parameters:
      l - int value for this enum
      Returns:
      AuthorizationOperationCheck for this int value