Interface CleanupSettings

    • 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
      • getInheritedCleanupOptions

        @NotNull
        Map<String,​Boolean> getInheritedCleanupOptions()
      • getCleanupOptions

        @NotNull
        Map<String,​Boolean> getCleanupOptions()
        Returns:
        map of all cleanup options
      • getOwnCleanupOptions

        @NotNull
        Map<String,​Boolean> getOwnCleanupOptions()
        Returns:
        map of own cleanup options only