Class Job.JobFileLogContainer

  • Enclosing class:
    Job

    protected static class Job.JobFileLogContainer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected JobFileLogContainer​(org.apache.log4j.Level level, java.lang.String fileName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void cleanup()  
      protected org.apache.log4j.Level getLevel()  
      protected java.io.DataInputStream getLogData()
      Provides the complete logs as data input stream.
      protected boolean isEnabledFor​(org.apache.log4j.Level level)  
      protected void log​(java.lang.String message, org.apache.log4j.Level level)  
      • Methods inherited from class java.lang.Object

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

      • JobFileLogContainer

        protected JobFileLogContainer​(org.apache.log4j.Level level,
                                      java.lang.String fileName)
    • Method Detail

      • getLevel

        protected org.apache.log4j.Level getLevel()
      • getLogData

        protected final java.io.DataInputStream getLogData()
        Provides the complete logs as data input stream. This method may only be called after finishing copying since logging is no longer possible afterwards!
      • cleanup

        protected final void cleanup()
      • log

        protected final void log​(java.lang.String message,
                                 org.apache.log4j.Level level)
      • isEnabledFor

        protected final boolean isEnabledFor​(org.apache.log4j.Level level)