Enum DecisionNodeComparisonType
- java.lang.Object
-
- java.lang.Enum<DecisionNodeComparisonType>
-
- com.orchestranetworks.addon.mame.model.config.DecisionNodeComparisonType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DecisionNodeComparisonType>
public enum DecisionNodeComparisonType extends java.lang.Enum<DecisionNodeComparisonType>
Represents the functions used to define nodes in a decision tree.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_FIELD_MATCH
All fields matchAT_LEAST_N_FIELD_MATCH
At least N fields matchAVERAGE
Average
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DecisionNodeComparisonType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DecisionNodeComparisonType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_FIELD_MATCH
public static final DecisionNodeComparisonType ALL_FIELD_MATCH
All fields matchAll fields must meet or exceed the minimum score for the process to move to the node's 'Yes' branch.
-
AT_LEAST_N_FIELD_MATCH
public static final DecisionNodeComparisonType AT_LEAST_N_FIELD_MATCH
At least N fields matchAt least the number of fields defined in the 'Minimum number of matches' property must meet or exceed the minimum score for the process to move to the node's 'Yes' branch.
-
AVERAGE
public static final DecisionNodeComparisonType AVERAGE
AverageThe average score of all of the fields must meet or exceed the minimum score for the process to move to the node's 'Yes' branch.
-
-
Method Detail
-
values
public static DecisionNodeComparisonType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DecisionNodeComparisonType c : DecisionNodeComparisonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DecisionNodeComparisonType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-