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