Enum Class NACMStatements
- All Implemented Interfaces:
Serializable
,Comparable<NACMStatements>
,Constable
,Immutable
,StatementDefinition
@NonNullByDefault
public enum NACMStatements
extends Enum<NACMStatements>
implements StatementDefinition
StatementDefinition
s for statements defined by RFC6536.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns name of statement argument or null, if statement does not have argument.Class<? extends DeclaredStatement<?>>
Returns class which represents declared version of statement associated with this definition.Class<? extends EffectiveStatement<?,
?>> Returns class which represents derived behaviour from supplied statement.Returns name of the statement.static NACMStatements
Returns the enum constant of this class with the specified name.static NACMStatements[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT_DENY_ALL
-
DEFAULT_DENY_WRITE
-
-
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
-
getArgumentDefinition
Description copied from interface:StatementDefinition
Returns name of statement argument or null, if statement does not have argument.- Specified by:
getArgumentDefinition
in interfaceStatementDefinition
- Returns:
- argument name or null, if statement does not take argument.
-
getStatementName
Description copied from interface:StatementDefinition
Returns name of the statement.- Specified by:
getStatementName
in interfaceStatementDefinition
- Returns:
- Name of the statement
-
getEffectiveRepresentationClass
Description copied from interface:StatementDefinition
Returns class which represents derived behaviour from supplied statement. This class should be an interface which defines convenience access to statement properties, namespace items and substatements.- Specified by:
getEffectiveRepresentationClass
in interfaceStatementDefinition
- Returns:
- class which represents effective version of statement associated with this definition
-
getDeclaredRepresentationClass
Description copied from interface:StatementDefinition
Returns class which represents declared version of statement associated with this definition. This class should be an interface which provides convenience access to declared substatements.- Specified by:
getDeclaredRepresentationClass
in interfaceStatementDefinition
- Returns:
- class which represents declared version of statement associated with this definition.
-