Class CircuitStatus


  • public class CircuitStatus
    extends java.lang.Object
    Object used to represent circuit status.
    Since:
    16.4
    • Method Detail

      • getStatus

        public CircuitStatus.Status getStatus()
        Determine the status associated with this CircuitStatus
        Returns:
        a type. Will never be null.
      • getTimeOfChange

        public java.util.Date getTimeOfChange()
        Determine the time of the last state change. For DATA_BEING_RECEIVED, this is the time of the start of transmission. For all other status values, this is the time of the end of transmission.
        Returns:
        the time of the last state change
      • getStatus

        public static CircuitStatus.Status getStatus​(java.lang.String c)
        Determine the Status enum for a particular code string
        Parameters:
        c - the code string (must not be null)
        Returns:
        a Status enum corresponding to the specified code, or null if there is no matching Status
      • toString

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