Enum Attribute
- java.lang.Object
-
- java.lang.Enum<Attribute>
-
- org.drools.workbench.models.datamodel.rule.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 Summary
Enum Constants Enum Constant Description ACTIVATION_GROUPAGENDA_GROUPAUTO_FOCUSCALENDARSDATE_EFFECTIVEDATE_EXPIRESDIALECTDURATIONENABLEDLOCK_ON_ACTIVENEGATE_RULENO_LOOPRULEFLOW_GROUPSALIENCETIMER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetAttributeDataType(String name)StringgetAttributeName()static AttributevalueOf(String name)Returns the enum constant of this type with the specified name.static Attribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
TIMER
public static final Attribute TIMER
-
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 nameNullPointerException- if the argument is null
-
getAttributeName
public String getAttributeName()
-
-