Package org.drools.core.spi
Enum PropagationContext.Type
- java.lang.Object
-
- java.lang.Enum<PropagationContext.Type>
-
- org.drools.core.spi.PropagationContext.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<PropagationContext.Type>
- Enclosing interface:
- PropagationContext
public static enum PropagationContext.Type extends Enum<PropagationContext.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETION
EXPIRATION
INSERTION
MODIFICATION
RULE_ADDITION
RULE_REMOVAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropagationContext.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropagationContext.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERTION
public static final PropagationContext.Type INSERTION
-
DELETION
public static final PropagationContext.Type DELETION
-
MODIFICATION
public static final PropagationContext.Type MODIFICATION
-
RULE_ADDITION
public static final PropagationContext.Type RULE_ADDITION
-
RULE_REMOVAL
public static final PropagationContext.Type RULE_REMOVAL
-
EXPIRATION
public static final PropagationContext.Type EXPIRATION
-
-
Method Detail
-
values
public static PropagationContext.Type[] 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 (PropagationContext.Type c : PropagationContext.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropagationContext.Type 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
-
-