Class OutputListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.StringBuffer outputBuf  
    • Constructor Summary

      Constructors 
      Constructor Description
      OutputListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOutput()  
      boolean hasData()  
      void outputChanged​(java.lang.String output)
      It is called whenever the job's output has been updated.
      void outputClosed()
      It is called whenever job finished and no more output will be generated.
      • Methods inherited from class java.lang.Object

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

      • outputBuf

        private java.lang.StringBuffer outputBuf
    • Constructor Detail

      • OutputListener

        OutputListener()
    • Method Detail

      • outputChanged

        public void outputChanged​(java.lang.String output)
        Description copied from interface: JobOutputListener
        It is called whenever the job's output has been updated.
        Specified by:
        outputChanged in interface JobOutputListener
        Parameters:
        output - new output
      • outputClosed

        public void outputClosed()
        Description copied from interface: JobOutputListener
        It is called whenever job finished and no more output will be generated.
        Specified by:
        outputClosed in interface JobOutputListener
      • getOutput

        public java.lang.String getOutput()
      • hasData

        public boolean hasData()