Enum Class HitPolicy

java.lang.Object
java.lang.Enum<HitPolicy>
io.jmix.bpmui.model.dmn.HitPolicy
All Implemented Interfaces:
EnumClass<String>, Serializable, Comparable<HitPolicy>, Constable

public enum HitPolicy extends Enum<HitPolicy> implements EnumClass<String>
  • Enum Constant Details

    • UNIQUE

      public static final HitPolicy UNIQUE
    • ANY

      public static final HitPolicy ANY
    • PRIORITY

      public static final HitPolicy PRIORITY
    • FIRST

      public static final HitPolicy FIRST
    • OUTPUT_ORDER

      public static final HitPolicy OUTPUT_ORDER
    • RULE_ORDER

      public static final HitPolicy RULE_ORDER
    • COLLECT

      public static final HitPolicy COLLECT
  • Field Details

    • id

      protected String id
    • xmlValue

      protected String xmlValue
  • Method Details

    • values

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

      public static HitPolicy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getXmlValue

      public String getXmlValue()
    • getId

      public String getId()
      Specified by:
      getId in interface EnumClass<String>
    • fromXmlValue

      public static HitPolicy fromXmlValue(String xmlValue)