public class MisconfiguredSitesNotificator extends AbstractConfigurableAdministratorNotificator implements Serviceable
Modifier and Type | Field and Description |
---|---|
private SiteConfigurationExtensionPoint |
_siteConfiguration |
private SiteManager |
_siteManager |
_action, _iconGlyph, _message, _pluginName, _title, _type
Constructor and Description |
---|
MisconfiguredSitesNotificator() |
Modifier and Type | Method and Description |
---|---|
private String |
_getAction(String siteId,
String siteName,
String siteTitle) |
private I18nizableText |
_getMessage(String siteName,
String siteTitle) |
List<Notification> |
getNotifications()
Gets the notifications to send to the admin.
|
void |
service(ServiceManager manager) |
configure, setPluginInfo
private SiteManager _siteManager
private SiteConfigurationExtensionPoint _siteConfiguration
public MisconfiguredSitesNotificator()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public List<Notification> getNotifications()
AdministratorNotificator
getNotifications
in interface AdministratorNotificator
private I18nizableText _getMessage(String siteName, String siteTitle)
private String _getAction(String siteId, String siteName, String siteTitle)