Enum Class AclImporter.Mode

java.lang.Object
java.lang.Enum<AclImporter.Mode>
com.illumon.iris.db.v2.permissions.AclImporter.Mode
All Implemented Interfaces:
Serializable, Comparable<AclImporter.Mode>, java.lang.constant.Constable
Enclosing class:
AclImporter

public static enum AclImporter.Mode extends Enum<AclImporter.Mode>
The mode for importing
  • Enum Constant Details

    • WRITE_NEW_ACLS

      public static final AclImporter.Mode WRITE_NEW_ACLS
      Only import ACLs that do not exist. Collisions result in an error
    • OVERWRITE_EXISTING_ACLS

      public static final AclImporter.Mode OVERWRITE_EXISTING_ACLS
      Import the ACLs and overwrite any that already exist
    • REPLACE_ALL_ACLS

      public static final AclImporter.Mode REPLACE_ALL_ACLS
      Delete all ACLs except for special public keys before importing the file
    • IGNORE_EXISTING_ACLS

      public static final AclImporter.Mode IGNORE_EXISTING_ACLS
      Import ACLs from the file, skip any that already exist
  • Method Details

    • values

      public static AclImporter.Mode[] 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 AclImporter.Mode 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