Package sailpoint.object
Enum Filter.MatchMode
- All Implemented Interfaces:
Serializable,Comparable<Filter.MatchMode>
- Enclosing class:
- Filter
An enumeration that describes how to match strings in a 'like' filter.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract StringtoMatchString(String value, String wildcard) Convert the given value into a match string using the given wildcard.static Filter.MatchModeReturns the enum constant of this type with the specified name.static Filter.MatchMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANYWHERE
Match anywhere within a String - equivalent to contains(). -
START
Match the start of a String - equivalent to startsWith(). -
END
Match the end a String - equivalent to endsWith(). -
EXACT
Match an exact String - equivalent to equals().
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toMatchString
Convert the given value into a match string using the given wildcard.- Parameters:
value- The value for which to retrieve the match string.wildcard- The wildcard to use.- Returns:
- A match string of the given value using the given wildcard.
-