Package org.nuxeo.ecm.directory
Enum BaseDirectoryDescriptor.SubstringMatchType
- java.lang.Object
-
- java.lang.Enum<BaseDirectoryDescriptor.SubstringMatchType>
-
- org.nuxeo.ecm.directory.BaseDirectoryDescriptor.SubstringMatchType
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseDirectoryDescriptor.SubstringMatchType>
- Enclosing class:
- BaseDirectoryDescriptor
public static enum BaseDirectoryDescriptor.SubstringMatchType extends Enum<BaseDirectoryDescriptor.SubstringMatchType>
How directory semi-"fulltext" searches are matched with a query string.Used for SQL and LDAP directories.
- Since:
- 8.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description subany
Matches any substring.subfinal
Matches final substring.subinitial
Matches initial substring.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseDirectoryDescriptor.SubstringMatchType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseDirectoryDescriptor.SubstringMatchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
subinitial
public static final BaseDirectoryDescriptor.SubstringMatchType subinitial
Matches initial substring.
-
subfinal
public static final BaseDirectoryDescriptor.SubstringMatchType subfinal
Matches final substring.
-
subany
public static final BaseDirectoryDescriptor.SubstringMatchType subany
Matches any substring.
-
-
Method Detail
-
values
public static BaseDirectoryDescriptor.SubstringMatchType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BaseDirectoryDescriptor.SubstringMatchType c : BaseDirectoryDescriptor.SubstringMatchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseDirectoryDescriptor.SubstringMatchType valueOf(String name)
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
-
-