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 NotificatorfindNotificator(String notificatorType)Collection<Notificator>getNotificators()voidregister(Notificator notificator)Registers notificator in the registry.voidregister(Notificator notificator, List<UserPropertyInfo> userProperties)Registers notificator in the registry.voidunregister(Notificator notificator)Unregisters notificator.
-
-
-
Constructor Detail
-
NotificatorRegistryImpl
public NotificatorRegistryImpl(PluginProperties pluginRegistry)
-
-
Method Detail
-
unregister
public void unregister(Notificator notificator)
Description copied from interface:NotificatorRegistryUnregisters notificator.- Specified by:
unregisterin interfaceNotificatorRegistry- Parameters:
notificator- notificator to unregister
-
register
public void register(Notificator notificator)
Description copied from interface:NotificatorRegistryRegisters notificator in the registry.- Specified by:
registerin interfaceNotificatorRegistry- Parameters:
notificator- notificator to register
-
register
public void register(Notificator notificator, List<UserPropertyInfo> userProperties)
Description copied from interface:NotificatorRegistryRegisters notificator in the registry. This method also allows to register user properties for the notificator. Registered properties descriptorsUserPropertyInfodescribe properties of the user which can be edited on the user settings page in the Notifications section.- Specified by:
registerin interfaceNotificatorRegistry- Parameters:
notificator- notificator to registeruserProperties- properties to show on the user settings page
-
getNotificators
@NotNull public Collection<Notificator> getNotificators()
- Specified by:
getNotificatorsin interfaceNotificatorRegistry
-
findNotificator
@Nullable public Notificator findNotificator(String notificatorType)
- Specified by:
findNotificatorin interfaceNotificatorRegistry
-
-