Class NotificatorRegistryImpl
- java.lang.Object
-
- jetbrains.buildServer.notification.impl.NotificatorRegistryImpl
-
- All Implemented Interfaces:
NotificatorRegistry
public class NotificatorRegistryImpl extends Object implements NotificatorRegistry
-
-
Constructor Summary
Constructors Constructor Description NotificatorRegistryImpl(PluginProperties pluginRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Notificator
findNotificator(String notificatorType)
Collection<Notificator>
getNotificators()
void
register(Notificator notificator)
Registers notificator in the registry.void
register(Notificator notificator, List<UserPropertyInfo> userProperties)
Registers notificator in the registry.void
unregister(Notificator notificator)
Unregisters notificator.
-
-
-
Constructor Detail
-
NotificatorRegistryImpl
public NotificatorRegistryImpl(PluginProperties pluginRegistry)
-
-
Method Detail
-
unregister
public void unregister(Notificator notificator)
Description copied from interface:NotificatorRegistry
Unregisters notificator.- Specified by:
unregister
in interfaceNotificatorRegistry
- Parameters:
notificator
- notificator to unregister
-
register
public void register(Notificator notificator)
Description copied from interface:NotificatorRegistry
Registers notificator in the registry.- Specified by:
register
in interfaceNotificatorRegistry
- Parameters:
notificator
- notificator to register
-
register
public void register(Notificator notificator, List<UserPropertyInfo> userProperties)
Description copied from interface:NotificatorRegistry
Registers notificator in the registry. This method also allows to register user properties for the notificator. Registered properties descriptorsUserPropertyInfo
describe properties of the user which can be edited on the user settings page in the Notifications section.- Specified by:
register
in interfaceNotificatorRegistry
- Parameters:
notificator
- notificator to registeruserProperties
- properties to show on the user settings page
-
getNotificators
@NotNull public Collection<Notificator> getNotificators()
- Specified by:
getNotificators
in interfaceNotificatorRegistry
-
findNotificator
@Nullable public Notificator findNotificator(String notificatorType)
- Specified by:
findNotificator
in interfaceNotificatorRegistry
-
-