|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Constants.SearchPattern> com.ibm.portal.cp.Constants.SearchPattern
public static enum Constants.SearchPattern
Enum for a search pattern
Enum Constant Summary | |
---|---|
CONTAINS
Search pattern has to contain a given String |
|
ENDSWITH
Search pattern has to end with a given String |
|
MATCHES
Search pattern has to match exactly with a given String |
|
STARTSWITH
Search pattern has to start with a given String |
Method Summary | |
---|---|
static Constants.SearchPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Constants.SearchPattern |
valueOfIgnoreCase(java.lang.String name)
Returns the enum constant of the specified name ignoring upper and lower cases. |
static Constants.SearchPattern[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Constants.SearchPattern STARTSWITH
String
public static final Constants.SearchPattern CONTAINS
String
public static final Constants.SearchPattern MATCHES
String
public static final Constants.SearchPattern ENDSWITH
String
Method Detail |
---|
public static Constants.SearchPattern[] values()
for (Constants.SearchPattern c : Constants.SearchPattern.values()) System.out.println(c);
public static Constants.SearchPattern valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static Constants.SearchPattern valueOfIgnoreCase(java.lang.String name)
name
- the name of the constant to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |