Class BuildLoggingContextImpl
java.lang.Object
com.atlassian.bamboo.build.logger.BuildLoggingContextImpl
- All Implemented Interfaces:
BuildLoggingContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid@Nullable BuildLoggerbooleanvoidsetContext(@NotNull CommonContext context, @NotNull BuildLogger buildLogger) booleanIf current thread is executing a build or a deployment.
-
Constructor Details
-
BuildLoggingContextImpl
public BuildLoggingContextImpl()
-
-
Method Details
-
getCurrentBuildLogger
- Specified by:
getCurrentBuildLoggerin interfaceBuildLoggingContext
-
withinBuild
public boolean withinBuild()Description copied from interface:BuildLoggingContextIf current thread is executing a build or a deployment. Method will return false when called during e.g. change detection.- Specified by:
withinBuildin interfaceBuildLoggingContext
-
isVerboseLoggingOn
public boolean isVerboseLoggingOn()- Specified by:
isVerboseLoggingOnin interfaceBuildLoggingContext
-
setContext
public void setContext(@NotNull @NotNull CommonContext context, @NotNull @NotNull BuildLogger buildLogger) - Specified by:
setContextin interfaceBuildLoggingContext
-
clearContext
public void clearContext()- Specified by:
clearContextin interfaceBuildLoggingContext
-