public final class NotificationDispatcherMetadata extends Object implements ServerExtension
Notification dispatchers (see NotificationDispatcher
) can define their own metadata class in order
to tell more about them.
Plugin.getExtensions()
.Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_NOTIFICATION |
static String |
PER_PROJECT_NOTIFICATION |
Modifier and Type | Method and Description |
---|---|
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() |
public static final String GLOBAL_NOTIFICATION
public static final String PER_PROJECT_NOTIFICATION
public static NotificationDispatcherMetadata create(String dispatcherKey)
NotificationDispatcher.getKey()
.public NotificationDispatcherMetadata setProperty(String key, String value)
public String getProperty(String key)
public String getDispatcherKey()
Copyright © 2009–2015 SonarSource. All rights reserved.