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
AbstractAdministratorNotificator
which isConfigurable
.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_action
The client-side action of the notificationsprotected String
_iconGlyph
The glyph icon of the notificationsprotected I18nizableText
_message
The i18n key of the description of the notificationsprotected String
_pluginName
The name of the plugin that has declared this componentprotected I18nizableText
_title
The i18n key of the title of the notificationsprotected Notification.NotificationType
_type
The type of the notifications
-
Constructor Summary
Constructors Constructor Description AbstractConfigurableAdministratorNotificator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
_pluginName
protected String _pluginName
The name of the plugin that has declared this component
-
_type
protected Notification.NotificationType _type
The type of the notifications
-
_iconGlyph
protected String _iconGlyph
The glyph icon of the notifications
-
_title
protected I18nizableText _title
The i18n key of the title of the notifications
-
_message
protected I18nizableText _message
The i18n key of the description of the notifications
-
-
Constructor Detail
-
AbstractConfigurableAdministratorNotificator
public AbstractConfigurableAdministratorNotificator()
-
-
Method Detail
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
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
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
-