Enum Class ShadowValuePatternType

java.lang.Object
java.lang.Enum<ShadowValuePatternType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowValuePatternType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<ShadowValuePatternType>, Constable

public enum ShadowValuePatternType extends Enum<ShadowValuePatternType> implements TypeSafeEnum
Defines the type of value pattern count.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    - custom LDAP's DN attribute handling - suffix starting from first 'ou' is counted as value pattern count - 'ou' delimiter needed
    - content is split into tokens on non-alphanumeric characters and the first token is counted - taken into account only if cardinality is lower than 0.05 * total number of samples - delimiter needed
    - content is split into tokens on non-alphanumeric characters and the last token is counted - taken into account only if cardinality is lower than 0.05 * total number of samples - delimiter needed
    - content starts with one of these values: "prod", "priv", "adm", "usr", "user", "ops", "svc", "int", "ext" - no delimiter needed
    - content ends with one of these values: "prod", "priv", "adm", "admin", "administrator", "usr", "user", "ops", "svc", "int", "ext" - no delimiter needed
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns enum value defined as in schema.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PREFIX

      public static final ShadowValuePatternType PREFIX
      - content starts with one of these values: "prod", "priv", "adm", "usr", "user", "ops", "svc", "int", "ext" - no delimiter needed
    • SUFFIX

      public static final ShadowValuePatternType SUFFIX
      - content ends with one of these values: "prod", "priv", "adm", "admin", "administrator", "usr", "user", "ops", "svc", "int", "ext" - no delimiter needed
    • FIRST_TOKEN

      public static final ShadowValuePatternType FIRST_TOKEN
      - content is split into tokens on non-alphanumeric characters and the first token is counted - taken into account only if cardinality is lower than 0.05 * total number of samples - delimiter needed
    • LAST_TOKEN

      public static final ShadowValuePatternType LAST_TOKEN
      - content is split into tokens on non-alphanumeric characters and the last token is counted - taken into account only if cardinality is lower than 0.05 * total number of samples - delimiter needed
    • DN_SUFFIX

      public static final ShadowValuePatternType DN_SUFFIX
      - custom LDAP's DN attribute handling - suffix starting from first 'ou' is counted as value pattern count - 'ou' delimiter needed
  • Method Details

    • values

      public static ShadowValuePatternType[] 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 ShadowValuePatternType 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
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static ShadowValuePatternType fromValue(String v)