Class AbstractConfigurableAdministratorNotificator
java.lang.Object
org.ametys.runtime.plugins.admin.notificator.AbstractConfigurableAdministratorNotificator
- All Implemented Interfaces:
PluginAware
,AdministratorNotificator
,Configurable
- Direct Known Subclasses:
IgnoredPopulationAdministratorNotificator
,InvalidDataSourceNotificator
,MigrationAdministratorNotificator
,MisconfiguredPopulationAdministratorNotificator
,MisconfiguredSitesNotificator
public abstract class AbstractConfigurableAdministratorNotificator
extends Object
implements AdministratorNotificator, Configurable, PluginAware
Abstract
AdministratorNotificator
which is Configurable
.-
Field Summary
Modifier and TypeFieldDescriptionprotected String
The client-side action of the notificationsprotected String
The glyph icon of the notificationsprotected I18nizableText
The i18n key of the description of the notificationsprotected String
The name of the plugin that has declared this componentprotected I18nizableText
The i18n key of the title of the notificationsprotected Notification.NotificationType
The type of the notifications -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) void
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.runtime.plugins.admin.notificator.AdministratorNotificator
getNotifications
-
Field Details
-
_pluginName
The name of the plugin that has declared this component -
_type
The type of the notifications -
_iconGlyph
The glyph icon of the notifications -
_title
The i18n key of the title of the notifications -
_message
The i18n key of the description of the notifications -
_action
The client-side action of the notifications
-
-
Constructor Details
-
AbstractConfigurableAdministratorNotificator
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-