Interface BuildLoggingContext
-
- All Known Implementing Classes:
BuildLoggingContextImpl
@Internal public interface BuildLoggingContextAllows access to current build'sBuildLogger- Since:
- 7.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearContext()@Nullable BuildLoggergetCurrentBuildLogger()booleanisVerboseLoggingOn()voidsetContext(@NotNull CommonContext context, @NotNull BuildLogger buildLogger)booleanwithinBuild()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()
-
-