Enum DecisionNodeComparisonType

java.lang.Object
java.lang.Enum<DecisionNodeComparisonType>
com.orchestranetworks.addon.mame.model.config.DecisionNodeComparisonType
All Implemented Interfaces:
Serializable, Comparable<DecisionNodeComparisonType>, Constable

public enum DecisionNodeComparisonType extends Enum<DecisionNodeComparisonType>
Represents the functions used to define nodes in a decision tree.
  • Enum Constant Details

    • ALL_FIELD_MATCH

      public static final DecisionNodeComparisonType ALL_FIELD_MATCH
      All fields match

      All 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 match

      At 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
      Average

      The 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 Details

    • values

      public static DecisionNodeComparisonType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DecisionNodeComparisonType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null