public final class AlertModule extends HTTPModule.Abstract
HTTPModule.Abstract, HTTPModule.Context| Modifier and Type | Field and Description |
|---|---|
static String |
ALERT_CONTEXT_ATTRIBUTE
Alert context attribute.
|
static String |
DEFAULT_PATH
Default path.
|
static String |
EVENTS_PATH
Events path.
|
static String |
STATUS_PATH
Status path.
|
static String |
TRIGGER_PATH
Trigger path.
|
MODULE_UUID_PROPERTY| Constructor and Description |
|---|
AlertModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addServlets(Map<String,String> servlets)
Adds the servlets to the servlets map.
|
void |
doEventActions(Event event)
Does event actions.
|
void |
doPendingActions()
Does pending actions.
|
String |
getDefaultPath()
Gets the default path for this module.
|
void |
prepareServletContext(ServletContext servletContext)
Prepares the servlet context.
|
protected boolean |
setUp(KeyedGroups contextProperties)
Sets up the server module.
|
callbackForEventActions, callbackForPendingActions, callbackForSignalActions, doSignalActions, getConfig, getMetadata, getService, getThisLogger, loadMetadata, needsMetadata, setRestartEnabled, setUp, tearDownpublic static final String ALERT_CONTEXT_ATTRIBUTE
public static final String DEFAULT_PATH
public static final String EVENTS_PATH
public static final String STATUS_PATH
public static final String TRIGGER_PATH
public void doEventActions(Event event)
doEventActions in interface HTTPModuledoEventActions in class HTTPModule.Abstractevent - The event.public void doPendingActions()
doPendingActions in interface HTTPModuledoPendingActions in class HTTPModule.Abstractpublic String getDefaultPath()
public void prepareServletContext(ServletContext servletContext)
prepareServletContext in interface HTTPModuleprepareServletContext in class HTTPModule.AbstractservletContext - The servlet context.protected void addServlets(Map<String,String> servlets)
addServlets in class HTTPModule.Abstractservlets - The servlets map.protected boolean setUp(KeyedGroups contextProperties)
setUp in class HTTPModule.AbstractcontextProperties - The context properties.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.