Class CompositeReporter


  • public class CompositeReporter
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addReporter​(Reporter reporter)
      Add reporter into reporter list.
      void clearReporter()
      Clear all reporters.
      boolean start​(ReporterType reporterType)
      Start reporter by reporterType.
      void startAll()
      Start all reporters.
      boolean stop​(ReporterType reporterType)
      Stop reporter by reporterType.
      void stopAll()
      Stop all reporters.
      • Methods inherited from class java.lang.Object

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

      • CompositeReporter

        public CompositeReporter()
    • Method Detail

      • startAll

        public void startAll()
        Start all reporters.
      • start

        public boolean start​(ReporterType reporterType)
        Start reporter by reporterType.
      • stopAll

        public void stopAll()
        Stop all reporters.
      • stop

        public boolean stop​(ReporterType reporterType)
        Stop reporter by reporterType.
      • addReporter

        public void addReporter​(Reporter reporter)
        Add reporter into reporter list.
      • clearReporter

        public void clearReporter()
        Clear all reporters.