public abstract class AbstractBaseRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALWAYS_RUN_CONDITION |
protected java.lang.String |
condition |
protected boolean |
enabled |
protected java.lang.String |
name |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBaseRule(java.lang.String name,
boolean enabled,
java.lang.String condition) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canFire(java.util.Map<java.lang.String,java.lang.Object> context) |
void |
disable() |
protected abstract java.util.List<Step> |
fire(java.util.Map<java.lang.String,java.lang.Object> context) |
java.lang.String |
getName() |
java.lang.String |
toString() |
public static final java.lang.String ALWAYS_RUN_CONDITION
protected java.lang.String name
protected boolean enabled
protected java.lang.String condition
protected AbstractBaseRule(java.lang.String name, boolean enabled, java.lang.String condition)
protected boolean canFire(java.util.Map<java.lang.String,java.lang.Object> context)
protected abstract java.util.List<Step> fire(java.util.Map<java.lang.String,java.lang.Object> context)
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public void disable()