Enum Class AclImporter.Mode
- All Implemented Interfaces:
Serializable
,Comparable<AclImporter.Mode>
,java.lang.constant.Constable
- Enclosing class:
- AclImporter
The mode for importing
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionImport ACLs from the file, skip any that already existImport the ACLs and overwrite any that already existDelete all ACLs except for special public keys before importing the fileOnly import ACLs that do not exist. -
Method Summary
Modifier and TypeMethodDescriptionstatic AclImporter.Mode
Returns the enum constant of this class with the specified name.static AclImporter.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRITE_NEW_ACLS
Only import ACLs that do not exist. Collisions result in an error -
OVERWRITE_EXISTING_ACLS
Import the ACLs and overwrite any that already exist -
REPLACE_ALL_ACLS
Delete all ACLs except for special public keys before importing the file -
IGNORE_EXISTING_ACLS
Import ACLs from the file, skip any that already exist
-
-
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
-