|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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. |
boolean |
equals(Object o)
|
String |
getDispatcherKey()
Returns the unique key of the dispatcher. |
String |
getProperty(String key)
Gives the property for the given key. |
int |
hashCode()
|
NotificationDispatcherMetadata |
setProperty(String key,
String value)
Sets a property on this metadata object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, 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()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||