public static enum DiscoveryClassifier.Target extends java.lang.Enum<DiscoveryClassifier.Target>
Enum Constant and Description |
---|
TEXT_DATA
A data-level classifier that examines text data.
|
VALUE_METADATA
A metadata-level classifier
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<DiscoveryClassifier.Target> |
DISCOVERY_TARGETS |
Modifier and Type | Method and Description |
---|---|
static DiscoveryClassifier.Target |
getByClass(java.lang.Class<?> value) |
java.lang.Class<?> |
getTargetClass() |
static DiscoveryClassifier.Target |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryClassifier.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryClassifier.Target TEXT_DATA
public static final DiscoveryClassifier.Target VALUE_METADATA
public static final com.google.common.collect.ImmutableSet<DiscoveryClassifier.Target> DISCOVERY_TARGETS
public static DiscoveryClassifier.Target[] values()
for (DiscoveryClassifier.Target c : DiscoveryClassifier.Target.values()) System.out.println(c);
public static DiscoveryClassifier.Target 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Class<?> getTargetClass()
public static DiscoveryClassifier.Target getByClass(java.lang.Class<?> value)