Class NotificationRuleFactory.NotificationRuleBuilder
- java.lang.Object
-
- jetbrains.buildServer.notification.NotificationRuleFactory.NotificationRuleBuilder
-
- Enclosing interface:
- NotificationRuleFactory
@NotThreadSafe public static class NotificationRuleFactory.NotificationRuleBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationRuleBuilder(NotificationRuleFactory notificationRuleFactory)
-
Method Summary
-
-
-
Constructor Detail
-
NotificationRuleBuilder
public NotificationRuleBuilder(NotificationRuleFactory notificationRuleFactory)
-
-
Method Detail
-
withRootProject
public NotificationRuleFactory.NotificationRuleBuilder withRootProject()
-
withProjectIds
public NotificationRuleFactory.NotificationRuleBuilder withProjectIds(Collection<String> projectIds)
-
withProjectIds
public NotificationRuleFactory.NotificationRuleBuilder withProjectIds(String... projectIds)
-
withProjects
public NotificationRuleFactory.NotificationRuleBuilder withProjects(Collection<? extends BuildProject> projects)
-
withProjects
public NotificationRuleFactory.NotificationRuleBuilder withProjects(BuildProject... projects)
-
withBuildTypes
public NotificationRuleFactory.NotificationRuleBuilder withBuildTypes(Collection<? extends BuildType> buildTypes)
-
withBuildTypes
public NotificationRuleFactory.NotificationRuleBuilder withBuildTypes(BuildType... buildTypes)
-
withBuildTypeIds
public NotificationRuleFactory.NotificationRuleBuilder withBuildTypeIds(String... buildTypes)
-
withBuildTypeIds
public NotificationRuleFactory.NotificationRuleBuilder withBuildTypeIds(Collection<String> buildTypeIds)
-
withEvents
public NotificationRuleFactory.NotificationRuleBuilder withEvents(NotificationRule.Event... events)
-
withEvents
public NotificationRuleFactory.NotificationRuleBuilder withEvents(Collection<NotificationRule.Event> events)
-
withAdditionalData
public NotificationRuleFactory.NotificationRuleBuilder withAdditionalData(Map<String,String> additionalData)
-
withUserChangesFilter
public NotificationRuleFactory.NotificationRuleBuilder withUserChangesFilter()
-
withFavoriteBuildsFilter
public NotificationRuleFactory.NotificationRuleBuilder withFavoriteBuildsFilter()
-
withBranchFilter
public NotificationRuleFactory.NotificationRuleBuilder withBranchFilter(@Nullable String branchFilter)
-
withDefaultBranchFilter
public NotificationRuleFactory.NotificationRuleBuilder withDefaultBranchFilter()
-
create
public NotificationRuleInit create()
-
-