|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.extensionpoint.Notifier
public abstract class Notifier
This extension point defines a notifier which can be used to send build notifications either forcibly or by subscription.
Constructor Summary | |
---|---|
Notifier()
|
Method Summary | |
---|---|
abstract java.util.List<java.lang.String> |
getChannelNames()
Get channel names of the notifier. |
abstract void |
notify(java.util.Map<java.lang.String,java.util.Set<User>> users,
Build build)
Notify a set of users upon finish of specified build. |
abstract void |
notify(NodeAlertEvent event)
Notify a set of users with a node alert event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Notifier()
Method Detail |
---|
public abstract java.util.List<java.lang.String> getChannelNames()
public abstract void notify(java.util.Map<java.lang.String,java.util.Set<User>> users, Build build)
users
- a mapping of channel name to receivers.public abstract void notify(NodeAlertEvent event)
users
- a mapping of channel name to receivers.alert
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |