Class LogSizeLimiter
java.lang.Object
com.atlassian.bamboo.build.logger.interceptors.AbstractLogLimiter
com.atlassian.bamboo.build.logger.interceptors.LogSizeLimiter
- All Implemented Interfaces:
LogMutator
-
Field Summary
Fields inherited from class com.atlassian.bamboo.build.logger.interceptors.AbstractLogLimiter
resultKey
-
Constructor Summary
ConstructorDescriptionLogSizeLimiter
(BuildHangingConfig buildHangingConfig, com.atlassian.event.api.EventPublisher eventPublisher, ResultKey resultKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected boolean
incrementAndCheckLimit
(@NotNull LogEntry logEntry) static boolean
isEnabled
(BuildHangingConfig buildHangingConfig) protected void
Methods inherited from class com.atlassian.bamboo.build.logger.interceptors.AbstractLogLimiter
mutate, mutateError
-
Constructor Details
-
LogSizeLimiter
public LogSizeLimiter(BuildHangingConfig buildHangingConfig, com.atlassian.event.api.EventPublisher eventPublisher, ResultKey resultKey)
-
-
Method Details
-
isEnabled
-
incrementAndCheckLimit
- Specified by:
incrementAndCheckLimit
in classAbstractLogLimiter
-
getReasonForStoppingMessage
- Specified by:
getReasonForStoppingMessage
in classAbstractLogLimiter
-
logStoppingToAgentLog
protected void logStoppingToAgentLog()- Specified by:
logStoppingToAgentLog
in classAbstractLogLimiter
-