public class Activation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
inited |
protected int |
priority
The priority.
|
protected IRule |
rule
The rule.
|
protected IOAVState |
state
The state.
|
protected IVariableAssignments |
values
The values.
|
Constructor and Description |
---|
Activation(IRule rule,
IVariableAssignments values,
IOAVState state)
Create a new Activation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Test if two activations are equal.
|
void |
execute()
Execute the activation.
|
int |
getPriority()
Get the priority.
|
IRule |
getRule()
Get the rule.
|
IVariableAssignments |
getVariableAssignments()
Get the variable assignments.
|
int |
hashCode()
Get the hashcode of this object.
|
java.lang.String |
toString()
Create a string representation of the activation.
|
protected IRule rule
protected IVariableAssignments values
protected IOAVState state
protected int priority
protected boolean inited
public Activation(IRule rule, IVariableAssignments values, IOAVState state)
rule
- The rule.public IRule getRule()
public IVariableAssignments getVariableAssignments()
public int getPriority()
public void execute()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to test.public java.lang.String toString()
toString
in class java.lang.Object