rule
Interface Sensor

All Known Implementing Classes:
SensorEffectorTest

public abstract interface Sensor

The Sensor interface allows any class to be called as an sensor in a rule.


Method Summary
 java.lang.Boolean sensor(java.lang.Object obj, java.lang.String sName, RuleVariable lhs)
          Defines the sensor method that must be implemented by every class that can be called as a sensor.
 

Method Detail

sensor

public java.lang.Boolean sensor(java.lang.Object obj,
                                java.lang.String sName,
                                RuleVariable lhs)
Defines the sensor method that must be implemented by every class that can be called as a sensor.
Parameters:
obj - the Object that implements an sensor
sName - the String object that contains the name of the sensor
lhs - the RuleVariable object that is assigned a value from the sensor
Returns:
the Boolean object