public enum IndexPrecedenceOption extends Enum<IndexPrecedenceOption> implements org.kie.api.conf.SingleValueKieBaseOption
Enum Constant and Description |
---|
EQUALITY_PRIORITY |
PATTERN_ORDER |
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the index precedence option
|
Modifier and Type | Method and Description |
---|---|
static IndexPrecedenceOption |
determineIndexPrecedence(String mode) |
String |
getPropertyName() |
String |
getValue() |
String |
toExternalForm() |
String |
toString() |
static IndexPrecedenceOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexPrecedenceOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexPrecedenceOption PATTERN_ORDER
public static final IndexPrecedenceOption EQUALITY_PRIORITY
public static final String PROPERTY_NAME
public static IndexPrecedenceOption[] values()
for (IndexPrecedenceOption c : IndexPrecedenceOption.values()) System.out.println(c);
public static IndexPrecedenceOption 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 String getPropertyName()
getPropertyName
in interface org.kie.api.conf.Option
public String getValue()
public String toString()
toString
in class Enum<IndexPrecedenceOption>
public String toExternalForm()
public static IndexPrecedenceOption determineIndexPrecedence(String mode)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.