Class ExecutiveTraceReport

  • All Implemented Interfaces:
    ObserverIfc

    public class ExecutiveTraceReport
    extends java.lang.Object
    implements ObserverIfc
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecutiveTraceReport​(java.nio.file.Path pathToFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getOffTime()
      The time that the trace will stop tracing events
      void setOffTime​(double time)
      Don't trace after the supplied time
      void update​(java.lang.Object subject, java.lang.Object arg)
      This method is called when the observable needs observing
      • Methods inherited from class java.lang.Object

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

      • ExecutiveTraceReport

        public ExecutiveTraceReport​(java.nio.file.Path pathToFile)
    • Method Detail

      • update

        public void update​(java.lang.Object subject,
                           java.lang.Object arg)
        Description copied from interface: ObserverIfc
        This method is called when the observable needs observing
        Specified by:
        update in interface ObserverIfc
        Parameters:
        subject - the thing observed
        arg - an object of info
      • setOffTime

        public final void setOffTime​(double time)
        Don't trace after the supplied time
        Parameters:
        time -
      • getOffTime

        public final double getOffTime()
        The time that the trace will stop tracing events
        Returns:
        The time that the trace will stop tracing events