Package com.uc4.api

Class TrafficLight


  • public class TrafficLight
    extends java.lang.Object
    This class represents the traffic light information.
    • Constructor Summary

      Constructors 
      Constructor Description
      TrafficLight​(org.w3c.dom.Element row)
      Internal use only.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAbortCount()
      Returns the number of aborted tasks.
      int getBlockCount()
      Returns the number of blocked tasks.
      int getRunningCount()
      Return the number of running tasks.
      int getWaitingCount()
      Returns the number of waiting tasks.
      • Methods inherited from class java.lang.Object

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

      • TrafficLight

        public TrafficLight​(org.w3c.dom.Element row)
        Internal use only.
        Parameters:
        row - Row
    • Method Detail

      • getAbortCount

        public int getAbortCount()
        Returns the number of aborted tasks.
        Returns:
        number of aborted tasks
      • getBlockCount

        public int getBlockCount()
        Returns the number of blocked tasks.
        Returns:
        number of block tasks
      • getRunningCount

        public int getRunningCount()
        Return the number of running tasks.
        Returns:
        number of running tasks
      • getWaitingCount

        public int getWaitingCount()
        Returns the number of waiting tasks.
        Returns:
        number of running tasks