Package org.tanukisoftware.wrapper.event
Class WrapperLogFileChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.tanukisoftware.wrapper.event.WrapperEvent
-
- org.tanukisoftware.wrapper.event.WrapperLoggingEvent
-
- org.tanukisoftware.wrapper.event.WrapperLogFileChangedEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class WrapperLogFileChangedEvent extends WrapperLoggingEvent
WrapperLogFileChangedEvent are fired whenever the log file used by the Wrapper is changed. This can happen due to nightly log rotation for example.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrapperLogFileChangedEvent(java.io.File logFile)
Creates a new WrapperLogFileChangedEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getLogFile()
Returns the updated log file name.java.lang.String
toString()
Returns a string representation of the event.-
Methods inherited from class org.tanukisoftware.wrapper.event.WrapperLoggingEvent
getFlags
-
-
-
-
Method Detail
-
getLogFile
public java.io.File getLogFile()
Returns the updated log file name.- Returns:
- The updated log file name.
-
toString
public java.lang.String toString()
Returns a string representation of the event.- Overrides:
toString
in classjava.util.EventObject
- Returns:
- A string representation of the event.
-
-