Class NotificationRulesUtil
- java.lang.Object
-
- jetbrains.buildServer.notification.NotificationRulesUtil
-
public class NotificationRulesUtil extends Object
- Author:
- Pavel.Sher Date: 02.11.2006
-
-
Constructor Summary
Constructors Constructor Description NotificationRulesUtil(NotificationRuleFactory rulesFactory)
-
Method Summary
-
-
-
Constructor Detail
-
NotificationRulesUtil
public NotificationRulesUtil(NotificationRuleFactory rulesFactory)
-
-
Method Detail
-
newMyChangesRule
public NotificationRule newMyChangesRule(@Nullable String branchFilter, NotificationRule.Event... events)
-
newFavoriteBuildsRuleForProject
public NotificationRule newFavoriteBuildsRuleForProject(SProject project, NotificationRule.Event... events)
-
newFavoriteBuildsRuleForAllProject
public NotificationRule newFavoriteBuildsRuleForAllProject(NotificationRule.Event... events)
-
newRule
public NotificationRule newRule(NotificationRule.Event... events)
-
newRule
public NotificationRule newRule(@NotNull Collection<? extends BuildType> buildTypes, NotificationRule.Event... events)
-
newRule
public NotificationRule newRule(@NotNull Collection<? extends BuildType> buildTypes, @Nullable String branchFilter, NotificationRule.Event... events)
-
newRule
public NotificationRule newRule(@NotNull BuildProject project, NotificationRule.Event... events)
-
newRule
public NotificationRule newRule(@NotNull BuildProject project, @Nullable String branchFilter, NotificationRule.Event... events)
-
newRule
public NotificationRule newRule(@NotNull Collection<? extends BuildProject> projects, @NotNull Collection<? extends BuildType> buildTypes, @NotNull Map<String,String> additionalData, NotificationRule.Event... events)
-
newSystemWideRule
public NotificationRule newSystemWideRule(NotificationRule.Event... events)
-
storeRules
public void storeRules(NotificationRulesHolder rulesHolder, Notificator notificator, NotificationRule... rules)
-
applyRulesOrder
public void applyRulesOrder(NotificationRulesHolder rulesHolder, Notificator notificator, long... ruleIds)
-
addNewRule
public long addNewRule(NotificationRulesHolder rulesHolder, Notificator notificator, NotificationRule rule)
-
getRules
public List<NotificationRule> getRules(NotificationRulesHolder rulesHolder, Notificator notificator)
-
removeRule
public void removeRule(NotificationRulesHolder rulesHolder, long ruleId)
-
-