java.lang.Object
java.lang.Enum<MatchMode>
com.atlassian.crowd.search.query.entity.restriction.MatchMode
All Implemented Interfaces:
Serializable, Comparable<MatchMode>, Constable

public enum MatchMode extends Enum<MatchMode>
  • Enum Constant Details

    • EXACTLY_MATCHES

      public static final MatchMode EXACTLY_MATCHES
    • STARTS_WITH

      public static final MatchMode STARTS_WITH
    • ENDS_WITH

      public static final MatchMode ENDS_WITH
    • CONTAINS

      public static final MatchMode CONTAINS
    • LESS_THAN

      public static final MatchMode LESS_THAN
    • LESS_THAN_OR_EQUAL

      public static final MatchMode LESS_THAN_OR_EQUAL
    • GREATER_THAN

      public static final MatchMode GREATER_THAN
    • GREATER_THAN_OR_EQUAL

      public static final MatchMode GREATER_THAN_OR_EQUAL
    • NULL

      public static final MatchMode NULL
  • Method Details

    • values

      public static MatchMode[] 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 MatchMode 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
    • isExact

      public boolean isExact()
      Returns true if this value represents an exact match mode. In other words, this method returns true only if this match mode can never match with more than one predetermined value.
      Returns:
      true if this match mode is exact