|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.notifications.NotificationDispatcherMetadata
public final class NotificationDispatcherMetadata
Notification dispatchers (see NotificationDispatcher
) can define their own metadata class in order
to tell more about them.
Plugin.getExtensions()
.
Field Summary | |
---|---|
static String |
GLOBAL_NOTIFICATION
|
static String |
PER_PROJECT_NOTIFICATION
|
Method Summary | |
---|---|
static NotificationDispatcherMetadata |
create(String dispatcherKey)
Creates a new metadata instance for the given dispatcher. |
String |
getDispatcherKey()
Returns the unique key of the dispatcher. |
String |
getProperty(String key)
Gives the property for the given key. |
NotificationDispatcherMetadata |
setProperty(String key,
String value)
Sets a property on this metadata object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String GLOBAL_NOTIFICATION
public static final String PER_PROJECT_NOTIFICATION
Method Detail |
---|
public static NotificationDispatcherMetadata create(String dispatcherKey)
NotificationDispatcher.getKey()
.
public NotificationDispatcherMetadata setProperty(String key, String value)
public String getProperty(String key)
public String getDispatcherKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |