Interface BuildLoggingContext
-
- All Known Implementing Classes:
BuildLoggingContextImpl
@Internal public interface BuildLoggingContext
Allows access to current build'sBuildLogger
- Since:
- 7.2
-
-
Method Summary
All Methods Instance Methods Abstract 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 @Nullable BuildLogger getCurrentBuildLogger()
-
isVerboseLoggingOn
boolean isVerboseLoggingOn()
-
withinBuild
boolean withinBuild()
If current thread is executing a build or a deployment. Method will return false when called during e.g. change detection.
-
setContext
void setContext(@NotNull @NotNull CommonContext context, @NotNull @NotNull BuildLogger buildLogger)
-
clearContext
void clearContext()
-
-