Package jetbrains.buildServer.serverSide
Interface CleanupSettings
-
- All Known Subinterfaces:
BuildTypeEx,BuildTypeSettingsEx,BuildTypeTemplateEx,CleanupSettingsInit,ProjectEx,RemoteBuildTypeEx
- All Known Implementing Classes:
BuildTypeImpl,BuildTypeSettingsImpl,BuildTypeTemplateImpl,CleanupSettingsSupport,DummyBuildType,EditableBuildTypeCopy,EditableTemplateCopy,InaccessibleTemplate,MockBuildType,ProjectImpl,RemoteBuildTypeImpl,SecuredBuildType,SecuredBuildTypeTemplate,SecuredProject
public interface CleanupSettings
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLEANUP_PREVENT_DEPENDENCIES_ARTIFACTS_FROM_CLEANUPIndicates whether build will prevent it's dependencies from cleanupstatic StringDISABLE_CLEANUP_POLICIES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Boolean>getCleanupOptions()Collection<HistoryRetentionPolicy>getCleanupPolicies()Map<String,Boolean>getInheritedCleanupOptions()Collection<HistoryRetentionPolicy>getInheritedCleanupPolicies()Map<String,Boolean>getOwnCleanupOptions()Collection<HistoryRetentionPolicy>getOwnCleanupPolicies()
-
-
-
Field Detail
-
CLEANUP_PREVENT_DEPENDENCIES_ARTIFACTS_FROM_CLEANUP
static final String CLEANUP_PREVENT_DEPENDENCIES_ARTIFACTS_FROM_CLEANUP
Indicates whether build will prevent it's dependencies from cleanup- See Also:
- Constant Field Values
-
DISABLE_CLEANUP_POLICIES
static final String DISABLE_CLEANUP_POLICIES
- Since:
- 2019.2 Provides ability to disable old cleanup policies, even default "keep all" when there is no any policies.
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCleanupPolicies
@NotNull Collection<HistoryRetentionPolicy> getCleanupPolicies()
- Returns:
- combined cleanup policies, including those inherited from default or parent object
-
getOwnCleanupPolicies
@NotNull Collection<HistoryRetentionPolicy> getOwnCleanupPolicies()
- Returns:
- cleanup policies, specific for this object only
-
getInheritedCleanupPolicies
@NotNull Collection<HistoryRetentionPolicy> getInheritedCleanupPolicies()
-
getCleanupOptions
@NotNull Map<String,Boolean> getCleanupOptions()
- Returns:
- map of all cleanup options
-
-