Class Fleeting


  • public class Fleeting
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Fleeting​(NBHSensor fleetingToggleInternalSensor, boolean defaultFleetingEnabled)
      Class to manage the Fleeting sensor (if defined).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isFleetingEnabled()
      Routine you can call to find out if fleeting is enabled.
      void removeAllListeners()
      Stub routine for completeness, we can be consistent in higher level code with this defined (even if it does nothing).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Fleeting

        public Fleeting​(NBHSensor fleetingToggleInternalSensor,
                        boolean defaultFleetingEnabled)
        Class to manage the Fleeting sensor (if defined). Provides reasonable return values if none defined.
        Parameters:
        fleetingToggleInternalSensor - The defined internal fleeting sensor name (ex: "IS:FLEETING")
        defaultFleetingEnabled - The users choice as to whether fleeting is initially enabled or not.
    • Method Detail

      • removeAllListeners

        public void removeAllListeners()
        Stub routine for completeness, we can be consistent in higher level code with this defined (even if it does nothing).
      • isFleetingEnabled

        public boolean isFleetingEnabled()
        Routine you can call to find out if fleeting is enabled. Provides reasonable defaults if things don't exist.
        Returns:
        True if fleeting is enabled, else false.