Class RuleSendObject
- java.lang.Object
-
- jetbrains.buildServer.controllers.admin.cleanup.jsons.newCleanup.RuleSendObject
-
- All Implemented Interfaces:
JsonObject
public final class RuleSendObject extends Object implements JsonObject
Class to send new cleanup keep rules via JSON to UI.- Since:
- 2019.2
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleSendObject
enforced(String holder, String holderExternalId, boolean overridesOwn, String ruleId, SKeepRule rule)
static RuleSendObject
inherited(String holder, String holderExternalId, String ruleId, SKeepRule rule)
static RuleSendObject
inheritedDisabled(String holder, String holderExternalId, String ruleId, SKeepRule rule)
static RuleSendObject
own(String parentalHolder, String parentalHolderExternalId, String ruleId, boolean ruleDisabled, SKeepRule rule)
String
toString()
-
-
-
Method Detail
-
inherited
@NotNull public static RuleSendObject inherited(@NotNull String holder, @NotNull String holderExternalId, @NotNull String ruleId, @NotNull SKeepRule rule) throws IllegalRuleException
- Throws:
IllegalRuleException
-
inheritedDisabled
@NotNull public static RuleSendObject inheritedDisabled(@NotNull String holder, @NotNull String holderExternalId, @NotNull String ruleId, @NotNull SKeepRule rule) throws IllegalRuleException
- Throws:
IllegalRuleException
-
own
@NotNull public static RuleSendObject own(@Nullable String parentalHolder, @Nullable String parentalHolderExternalId, @NotNull String ruleId, boolean ruleDisabled, @NotNull SKeepRule rule) throws IllegalRuleException
- Throws:
IllegalRuleException
-
enforced
@NotNull public static RuleSendObject enforced(@Nullable String holder, @Nullable String holderExternalId, boolean overridesOwn, @NotNull String ruleId, @NotNull SKeepRule rule) throws IllegalRuleException
- Throws:
IllegalRuleException
-
-