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:
Serializable
WrapperLogFileChangedEvent are fired whenever the log file used by the
Wrapper is changed. This can happen due to nightly log rotation for
example.
- Author:
- Tanuki Software Development Team <support@tanukisoftware.com>
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperLogFileChangedEvent
(File logFile) Creates a new WrapperLogFileChangedEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturns the updated log file name.toString()
Returns a string representation of the event.Methods inherited from class org.tanukisoftware.wrapper.event.WrapperLoggingEvent
getFlags
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
WrapperLogFileChangedEvent
Creates a new WrapperLogFileChangedEvent.- Parameters:
logFile
- The log file.
-
-
Method Details
-
getLogFile
Returns the updated log file name.- Returns:
- The updated log file name.
-
toString
Returns a string representation of the event.- Overrides:
toString
in classEventObject
- Returns:
- A string representation of the event.
-