Class MvnBuildCacheLocalConnector_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.buildcache.MvnBuildCacheLocalConnector_1_0
- Direct Known Subclasses:
MvnBuildCacheLocalConnector_1_1
@MavenExtensionVersion(since="1.0",
until="1.13")
public class MvnBuildCacheLocalConnector_1_0
extends Object
Represents the effective configuration of the local build cache.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable Boolean
Whether a cleanup policy has been configured.final @Nullable String
Cleanup interval duration, using ISO-8601 format.final @Nullable MvnFileRef_1_0
Location of the build cache.final @Nullable("when the local cache is enabled") String
The specific reason why the local cache was disabled.final @Nullable("when the local cache is enabled") MvnBuildCachingDisabledReasonCategory_1
The reason why the local cache was disabled.final @Nullable String
Retention period duration, using ISO-8601 format. -
Constructor Summary
ConstructorDescriptionMvnBuildCacheLocalConnector_1_0
(@Nullable MvnBuildCachingDisabledReasonCategory_1 disabledReasonCategory, @Nullable String disabledReason, @Nullable MvnFileRef_1_0 directory, @Nullable Boolean cleanupEnabled, @Nullable String cleanupInterval, @Nullable String retentionPeriod) -
Method Summary
-
Field Details
-
disabledReasonCategory
@Nullable("when the local cache is enabled") public final @Nullable("when the local cache is enabled") MvnBuildCachingDisabledReasonCategory_1 disabledReasonCategoryThe reason why the local cache was disabled. -
disabledReason
@Nullable("when the local cache is enabled") public final @Nullable("when the local cache is enabled") String disabledReasonThe specific reason why the local cache was disabled. -
directory
Location of the build cache.May be null if the build cache connector was disabled.
-
cleanupEnabled
Whether a cleanup policy has been configured.May be null if the build cache connector was disabled.
-
cleanupInterval
Cleanup interval duration, using ISO-8601 format.May be null if
cleanupEnabled
isfalse
, or if the build cache connector was disabled. -
retentionPeriod
Retention period duration, using ISO-8601 format.May be null if
cleanupEnabled
isfalse
, or if the build cache connector was disabled.
-
-
Constructor Details
-
MvnBuildCacheLocalConnector_1_0
public MvnBuildCacheLocalConnector_1_0(@Nullable @Nullable MvnBuildCachingDisabledReasonCategory_1 disabledReasonCategory, @Nullable @Nullable String disabledReason, @Nullable @Nullable MvnFileRef_1_0 directory, @Nullable @Nullable Boolean cleanupEnabled, @Nullable @Nullable String cleanupInterval, @Nullable @Nullable String retentionPeriod)
-
-
Method Details