uk.ac.lancs.relate.trigger.conditions
Class StillWithinZone

java.lang.Object
  extended by uk.ac.lancs.relate.trigger.conditions.Condition
      extended by uk.ac.lancs.relate.trigger.conditions.ZoneCondition
          extended by uk.ac.lancs.relate.trigger.conditions.StillWithinZone
All Implemented Interfaces:
java.io.Serializable

public class StillWithinZone
extends ZoneCondition

This condition is true if a trackable is within the zone and not moving.

Author:
Sara Streng
See Also:
Serialized Form

Constructor Summary
StillWithinZone(java.lang.String id1, Zone zone, java.lang.String deviceId)
           
 
Method Summary
 boolean evaluate()
          Return true if the condition is fulfilled, else false.
 
Methods inherited from class uk.ac.lancs.relate.trigger.conditions.ZoneCondition
defineActiveTrackable, defineInvolvedTrackables, getNrTrackablesInZone, getZone, inZone, setZone
 
Methods inherited from class uk.ac.lancs.relate.trigger.conditions.Condition
addInvolvedTrackable, addInvolvedTrackable, getActiveTrackable, getApp, getInvolvedTrackables, getTrackableById, setActiveTrackable, setApp, setInvolvedTrackables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StillWithinZone

public StillWithinZone(java.lang.String id1,
                       Zone zone,
                       java.lang.String deviceId)
Method Detail

evaluate

public boolean evaluate()
Return true if the condition is fulfilled, else false.

Overrides:
evaluate in class ZoneCondition
Returns:
true if the condition is fulfilled, else false