public enum ClassificationPropagationRule extends Enum<ClassificationPropagationRule> implements Serializable
The propagation rule defines the direction of propagation:
| Enum Constant and Description |
|---|
BOTH |
NONE |
ONE_TO_TWO |
TWO_TO_ONE |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the propagation rule.
|
String |
getName()
Return the default name of the propagation rule.
|
int |
getOrdinal()
Return the numeric representation of the propagation rule.
|
String |
toString()
toString() JSON-style
|
static ClassificationPropagationRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassificationPropagationRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassificationPropagationRule NONE
public static final ClassificationPropagationRule ONE_TO_TWO
public static final ClassificationPropagationRule TWO_TO_ONE
public static final ClassificationPropagationRule BOTH
public static ClassificationPropagationRule[] values()
for (ClassificationPropagationRule c : ClassificationPropagationRule.values()) System.out.println(c);
public static ClassificationPropagationRule 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 nullpublic int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<ClassificationPropagationRule>Copyright © 2018–2020 ODPi. All rights reserved.