Class NotificationRulesForm
- java.lang.Object
-
- jetbrains.buildServer.controllers.profile.notifications.NotificationRulesForm
-
public class NotificationRulesForm extends Object
- Author:
- Pavel.Sher Date: 26.06.2006
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
NotificationRulesForm.EditableNotificationRule
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,String>
ourDefaultBranchFilters
-
Constructor Summary
Constructors Constructor Description NotificationRulesForm(NotificationRulesHolder editee, String notificatorType, ProjectManagerEx projectManager, NotificationRuleFactory ruleFactory, SecurityContextEx securityContext, BranchSpecs branchSpecs, NotificationsUtil notificationsUtil, String filterType, String filter)
-
Method Summary
-
-
-
Constructor Detail
-
NotificationRulesForm
public NotificationRulesForm(@NotNull NotificationRulesHolder editee, @NotNull String notificatorType, @NotNull ProjectManagerEx projectManager, @NotNull NotificationRuleFactory ruleFactory, @NotNull SecurityContextEx securityContext, @NotNull BranchSpecs branchSpecs, @NotNull NotificationsUtil notificationsUtil, @Nullable String filterType, @Nullable String filter)
-
-
Method Detail
-
getAddedOrEditedRuleId
public long getAddedOrEditedRuleId()
-
setAddedOrEditedRuleId
public void setAddedOrEditedRuleId(long addedOrEditedRuleId)
-
clearAddedOrEditedRuleId
public void clearAddedOrEditedRuleId()
-
isCanEditSystemWideRules
public boolean isCanEditSystemWideRules()
-
reloadRules
public void reloadRules()
-
isCanEditRules
public boolean isCanEditRules()
-
getOldNotificationRules
@NotNull public List<NotificationRulesForm.EditableNotificationRule> getOldNotificationRules()
-
getNotificationsRules
public List<NotificationRulesForm.EditableNotificationRule> getNotificationsRules()
-
getProjects
@NotNull public List<ProjectHierarchyBean> getProjects()
-
getAllBuildTypes
@NotNull public List<BuildTypesHierarchyBean> getAllBuildTypes()
-
getHiddenCount
public long getHiddenCount()
-
getNotificatorType
public String getNotificatorType()
-
editNewNotificationRule
public NotificationRulesForm.EditableNotificationRule editNewNotificationRule()
-
editNotificationRule
@Nullable public NotificationRulesForm.EditableNotificationRule editNotificationRule(long id)
-
setEditingRuleId
public void setEditingRuleId(long newRuleId)
-
setEditingRulePosition
public void setEditingRulePosition(int newRulePosition)
-
cancelEditingRule
public void cancelEditingRule()
-
getEditingRule
@Nullable public NotificationRulesForm.EditableNotificationRule getEditingRule()
-
getEditee
public NotificationRulesHolder getEditee()
-
getEditeeId
public String getEditeeId()
-
getEditeeId
public static String getEditeeId(@NotNull NotificationRulesHolder rulesHolder)
-
isGroupRules
public boolean isGroupRules()
-
getInheritedRules
public Map<UserGroup,List<NotificationRulesForm.EditableNotificationRule>> getInheritedRules()
-
isBFNFEnabled
public boolean isBFNFEnabled()
-
getCurrentProject
@Nullable public SProject getCurrentProject()
-
getCurrentBuildType
@Nullable public SBuildType getCurrentBuildType()
-
getFilterType
@Nullable public String getFilterType()
-
getFilter
@Nullable public String getFilter()
-
-