19 package org.turro.action.queue;
21 import java.util.EnumSet;
23 import org.turro.plugin.contacts.IContact;
31 private final String idCategory, category, description;
32 private final EnumSet<QueuePeriod> allowedPeriods;
33 private final boolean unique, publishable;
40 String description, EnumSet<QueuePeriod> allowedPeriods,
43 Set<NotificationConstraint> constraints,
boolean publishable) {
44 this.idCategory = idCategory;
45 this.category = category;
46 this.description = description;
47 this.allowedPeriods = allowedPeriods;
49 this.defaultPeriod = defaultPeriod;
50 this.notification = notification;
53 this.publishable = publishable;
69 return allowedPeriods;
NotificationCategory(String idCategory, String category, String description, EnumSet< QueuePeriod > allowedPeriods, boolean unique, QueuePeriod defaultPeriod, IElephantNotification notification, NotificationRole role, Set< NotificationConstraint > constraints, boolean publishable)
boolean wideBond(ConstraintKeys keys)
IElephantNotification getNotification()
NotificationConstraintSet getConstraints()
EnumSet< QueuePeriod > getAllowedPeriods()
boolean isValid(IContact contact)
boolean strongBond(ConstraintKeys keys)
NotificationRole getRole()
QueuePeriod getDefaultPeriod()
boolean wideBond(String... key)
boolean strongBond(String... key)