Package com.tailf.dp
Enum Class AuthorizationOperCheck
- All Implemented Interfaces:
Serializable
,Comparable<AuthorizationOperCheck>
,Constable
AuthorizationOperCheck used as argument to authorization callbacks.
They are also used defined as access filters
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCreate accessDelete accessExecute access"How" parameter, Access to the specific data node is requested."How" parameter, Access to the given data node or its descendants is requested.Read access.Update accessWrite access. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizationOperCheck
getType
(int l) Get a AuthorizationOperationCheck for given int value or null if the int value does not represent a enum.int
getValue()
Get the int value representation of this authorization operation checkstatic AuthorizationOperCheck
Returns the enum constant of this class with the specified name.static AuthorizationOperCheck[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
READ
Read access. -
EXECUTE
Execute access -
CREATE
Create access -
UPDATE
Update access -
DELETE
Delete access -
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
"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
"How" parameter, Access to the specific data node is requested.
-
-
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
-
getValue
public int getValue()Get the int value representation of this authorization operation check- Returns:
- int value
-
getType
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
-