Package com.atlassian.bamboo.warnings
Class WarningsParsingLogInterceptor
- java.lang.Object
-
- com.atlassian.bamboo.warnings.WarningsParsingLogInterceptor
-
- All Implemented Interfaces:
LogMutator
,WhitelistedSerializable
,Serializable
public class WarningsParsingLogInterceptor extends Object implements LogMutator, WhitelistedSerializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WarningsParsingLogInterceptor(@NotNull File logFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
void
finishCollectingLogs(long consumerId)
File
getLogFile()
LogEntry
mutate(@NotNull LogEntry logEntry)
Method invoked whenever a new log entry is loggedLogEntry
mutateError(@NotNull LogEntry logEntry)
Method invoked whenever a new error log entry is loggedvoid
registerConsumer(long consumerId)
-
-
-
Constructor Detail
-
WarningsParsingLogInterceptor
public WarningsParsingLogInterceptor(@NotNull @NotNull File logFile) throws IOException
- Throws:
IOException
-
-
Method Detail
-
mutate
public LogEntry mutate(@NotNull @NotNull LogEntry logEntry)
Description copied from interface:LogMutator
Method invoked whenever a new log entry is logged- Specified by:
mutate
in interfaceLogMutator
-
mutateError
public LogEntry mutateError(@NotNull @NotNull LogEntry logEntry)
Description copied from interface:LogMutator
Method invoked whenever a new error log entry is logged- Specified by:
mutateError
in interfaceLogMutator
-
registerConsumer
public void registerConsumer(long consumerId)
-
finishCollectingLogs
public void finishCollectingLogs(long consumerId) throws IOException
- Throws:
IOException
-
cleanup
public void cleanup()
-
getLogFile
public File getLogFile()
-
-