Enum Attribute

  • All Implemented Interfaces:
    Serializable, Comparable<Attribute>

    public enum Attribute
    extends Enum<Attribute>
    This enum collects all attributes supported by kie tooling - guided rule editors, guided decision table editor ... The enum stores pairs (attribute name, attribute data type) The 'attribute data type' determines what HTML element will be shown for user to set the attribute value e.g. TYPE_BOOLEAN -> checkbox, TYPE_DATE -> date picker ...
    • Enum Constant Detail

      • SALIENCE

        public static final Attribute SALIENCE
      • ENABLED

        public static final Attribute ENABLED
      • DATE_EFFECTIVE

        public static final Attribute DATE_EFFECTIVE
      • DATE_EXPIRES

        public static final Attribute DATE_EXPIRES
      • NO_LOOP

        public static final Attribute NO_LOOP
      • AGENDA_GROUP

        public static final Attribute AGENDA_GROUP
      • ACTIVATION_GROUP

        public static final Attribute ACTIVATION_GROUP
      • DURATION

        public static final Attribute DURATION
      • CALENDARS

        public static final Attribute CALENDARS
      • AUTO_FOCUS

        public static final Attribute AUTO_FOCUS
      • LOCK_ON_ACTIVE

        public static final Attribute LOCK_ON_ACTIVE
      • RULEFLOW_GROUP

        public static final Attribute RULEFLOW_GROUP
      • DIALECT

        public static final Attribute DIALECT
      • NEGATE_RULE

        public static final Attribute NEGATE_RULE
    • Method Detail

      • values

        public static Attribute[] 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 (Attribute c : Attribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Attribute 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
      • getAttributeName

        public String getAttributeName()
      • getAttributeDataType

        public static String getAttributeDataType​(String name)