Class TimeLock

  • All Implemented Interfaces:
    Lock

    public class TimeLock
    extends java.lang.Object
    implements Lock
    Lock if any of the SignalHeadSections controlling traffic are running time.
    • Method Detail

      • isLockClear

        public boolean isLockClear​(LockLogger lockLogger)
        Test the lock conditions
        Specified by:
        isLockClear in interface Lock
        Parameters:
        lockLogger - the logger on which to emit status messages
        Returns:
        True if lock is clear and operation permitted
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object