|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IlrAlgorithmKind>
ilog.rules.studio.model.ruleflow.IlrAlgorithmKind
public enum IlrAlgorithmKind
A representation of the literals of the enumeration 'Algorithm Kind',
and utility methods for working with them. Each algorithm kind is a value that corresponds
to the index of the object in the array of predefined values VALUES.
The algorithm kind value is used to set the algorithm of an
IlrRuleTask
(IlrRuleTask.setAlgorithm(IlrAlgorithmKind)).
The algorithm controls the election mechanism of rules in the rule task.
ilog.rules.studio.model.ruleflow.IlrRuleflowPackage#getIlrAlgorithmKind()
| Enum Constant Summary | |
|---|---|
DEFAULT_LITERAL
The 'Default' literal object. |
|
SEQUENTIAL_LITERAL
The 'Sequential' literal object. |
|
| Field Summary | |
|---|---|
static int |
DEFAULT
The 'Default' literal value. |
static int |
SEQUENTIAL
The 'Sequential' literal value. |
static List<IlrAlgorithmKind> |
VALUES
A public read-only list of all the 'Algorithm Kind' enumerators. |
| Method Summary | |
|---|---|
static IlrAlgorithmKind |
get(int value)
Returns the 'Algorithm Kind' literal with the specified integer value. |
static IlrAlgorithmKind |
get(String literal)
Returns the 'Algorithm Kind' literal with the specified literal value. |
static IlrAlgorithmKind |
getByName(String name)
Returns the 'Algorithm Kind' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static IlrAlgorithmKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IlrAlgorithmKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IlrAlgorithmKind DEFAULT_LITERAL
The 'default' algorithm corresponds to the RETE.
DEFAULTpublic static final IlrAlgorithmKind SEQUENTIAL_LITERAL
The 'sequential' value correspond to a sequential execution for the
IlrRuleTask.
SEQUENTIAL| Field Detail |
|---|
public static final int DEFAULT
DEFAULT_LITERAL,
Constant Field Valuespublic static final int SEQUENTIAL
SEQUENTIAL_LITERAL,
Constant Field Valuespublic static final List<IlrAlgorithmKind> VALUES
| Method Detail |
|---|
public static final IlrAlgorithmKind[] values()
for(IlrAlgorithmKind c : IlrAlgorithmKind.values())
System.out.println(c);
public static IlrAlgorithmKind valueOf(String name)
IllegalArgumentException - if this enum type has no constant
with the specified namename - the name of the enum constant to be returned.
public static IlrAlgorithmKind get(String literal)
public static IlrAlgorithmKind getByName(String name)
public static IlrAlgorithmKind get(int value)
public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumeratorpublic String toString()
toString in class Enum<IlrAlgorithmKind>
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||