Interface NotificationRule
-
- All Superinterfaces:
Comparable<NotificationRule>
- All Known Subinterfaces:
NotificationRuleInit
- All Known Implementing Classes:
NotificationRuleImpl
public interface NotificationRule extends Comparable<NotificationRule>
Presents one notification rule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NotificationRule.Event
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
getAdditionalData()
Set<NotificationRule.Event>
getEvents()
Returns associated events.long
getId()
Returns id.int
getPosition()
Returns the position of this rule in the list.WatchedBuilds
getWatchedBuilds()
Returns builds watched by the rule.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getId
long getId()
Returns id.- Returns:
- id.
-
getEvents
@NotNull Set<NotificationRule.Event> getEvents()
Returns associated events.- Returns:
- list of events when rule has to work.
-
getWatchedBuilds
WatchedBuilds getWatchedBuilds()
Returns builds watched by the rule.- Returns:
- builds watched by the rule.
-
getPosition
int getPosition()
Returns the position of this rule in the list.- Returns:
- the "position" of this watch
-
-