Enum Class IdolAclSyntax

java.lang.Object
java.lang.Enum<IdolAclSyntax>
com.norconex.committer.idol.IdolAclSyntax
All Implemented Interfaces:
Serializable, Comparable<IdolAclSyntax>, Constable

public enum IdolAclSyntax extends Enum<IdolAclSyntax>
The text an IDOL access control list is written as in a field. Which one applies is decided by the security type set up on the IDOL server.
  • Enum Constant Details

    • NT

      public static final IdolAclSyntax NT
      The NT style, with the four sections always present: <everyone>:U:<users>:G:<groups>:NU:<denied users>:NG:<denied groups>. The first part is 1 when everyone may read, else 0, and each list is separated by commas.
    • SIMPLE

      public static final IdolAclSyntax SIMPLE
      The simple style of connectors that only know who may read: :U:<users>:G:<groups>, each list separated by commas. It cannot express a denial, so a document with one is not sent.
  • Method Details

    • values

      public static IdolAclSyntax[] 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 IdolAclSyntax 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