Class KeepRuleUiFactory
- java.lang.Object
-
- jetbrains.buildServer.controllers.admin.cleanup.KeepRuleUiFactory
-
public class KeepRuleUiFactory extends Object
Parses provided from UI keep rule params and createsKeepRule
based on them.- Since:
- 2019.2
- See Also:
KeepRuleFactory
-
-
Constructor Summary
Constructors Constructor Description KeepRuleUiFactory(ProjectManagerEx projectManager, BranchSpecs branchSpecs, ServerSettings serverSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorableRule
createFromUIParams(BuildPartsObject keepBuildPartsParams, FiltersObject filtersParams, PartitionsObject partitionsParams, LimitObject limitParams, boolean preserveArtifacts, boolean ruleDisabled)
-
-
-
Constructor Detail
-
KeepRuleUiFactory
public KeepRuleUiFactory(@NotNull ProjectManagerEx projectManager, @NotNull BranchSpecs branchSpecs, @NotNull ServerSettings serverSettings)
-
-
Method Detail
-
createFromUIParams
@NotNull public StorableRule createFromUIParams(@NotNull BuildPartsObject keepBuildPartsParams, @NotNull FiltersObject filtersParams, @NotNull PartitionsObject partitionsParams, @NotNull LimitObject limitParams, boolean preserveArtifacts, boolean ruleDisabled) throws IllegalRuleException
- Throws:
IllegalRuleException
-
-