public static enum Patterns.Predicates extends Enum<Patterns.Predicates> implements com.google.common.base.Predicate<String>
Enum Constant and Description |
---|
NULL_OR_SINGLE_WORD |
REPOSITORY_NAME |
SINGLE_WORD |
VERSION_NUMBER |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
apply(String value) |
static Patterns.Predicates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Patterns.Predicates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Patterns.Predicates VERSION_NUMBER
public static final Patterns.Predicates SINGLE_WORD
public static final Patterns.Predicates NULL_OR_SINGLE_WORD
public static final Patterns.Predicates REPOSITORY_NAME
public static Patterns.Predicates[] values()
for (Patterns.Predicates c : Patterns.Predicates.values()) System.out.println(c);
public static Patterns.Predicates valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004-2016. All Rights Reserved.