rule
Class EffectorClause
java.lang.Object
|
+--rule.Clause
|
+--rule.EffectorClause
- public class EffectorClause
- extends Clause
The EffectorClause
class adds effectors to a rule.
Constructor Summary |
EffectorClause(java.lang.String eName,
java.lang.String args)
Creates an EffectorClause object with the given name
and argument string. |
Method Summary |
java.lang.String |
display()
Returns a display string for the effector. |
java.lang.Boolean |
perform(BooleanRuleBase rb)
Peforms the effector clause. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
object
Effector object
effectorName
java.lang.String effectorName
arguments
java.lang.String arguments
EffectorClause
public EffectorClause(java.lang.String eName,
java.lang.String args)
- Creates an
EffectorClause
object with the given name
and argument string.
- Parameters:
eName
- the String object that contains the name of the effectorargs
- the String object that contains arguments for the effector
display
public java.lang.String display()
- Returns a display string for the effector.
- Returns:
- the String object that contains a displayable string
perform
public java.lang.Boolean perform(BooleanRuleBase rb)
- Peforms the effector clause.
- Parameters:
rb
- the BooleanRuleBase object that this clause is
part of- Returns:
- the Boolean object that contains the value
true