Class BuildLoggingContextImpl
- java.lang.Object
-
- com.atlassian.bamboo.build.logger.BuildLoggingContextImpl
-
- All Implemented Interfaces:
BuildLoggingContext
public class BuildLoggingContextImpl extends Object implements BuildLoggingContext
-
-
Constructor Summary
Constructors Constructor Description BuildLoggingContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearContext()
@Nullable BuildLogger
getCurrentBuildLogger()
boolean
isVerboseLoggingOn()
void
setContext(@NotNull CommonContext context, @NotNull BuildLogger buildLogger)
boolean
withinBuild()
If current thread is executing a build or a deployment.
-
-
-
Method Detail
-
getCurrentBuildLogger
@Nullable public @Nullable BuildLogger 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
-
-