Package de.hybris.platform.cronjob.jalo
Class Job.JobFileLogContainer
- java.lang.Object
-
- de.hybris.platform.cronjob.jalo.Job.JobFileLogContainer
-
- Enclosing class:
- Job
protected static class Job.JobFileLogContainer extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJobFileLogContainer(org.apache.log4j.Level level, java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanup()protected org.apache.log4j.LevelgetLevel()protected java.io.DataInputStreamgetLogData()Provides the complete logs as data input stream.protected booleanisEnabledFor(org.apache.log4j.Level level)protected voidlog(java.lang.String message, org.apache.log4j.Level level)
-
-
-
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)
-
-