public class SMSAlertConfig extends Object implements IAlertConfig
| Modifier and Type | Field and Description |
|---|---|
protected AlertGruTaskConfig |
_config |
| Constructor and Description |
|---|
SMSAlertConfig(javax.servlet.http.HttpServletRequest request,
AlertGruTaskConfig config)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfig()
Adds this alert configuration
|
String |
getName()
Gives the name of the alert configuration
|
AbstractAlertConfigValidator |
getValidator()
Gives the validator for this alert configuration
|
boolean |
isActive()
Tests if this alert configuration is active or not
|
void |
removeConfig()
Removes this alert configuration
|
void |
setActive(boolean bActive)
Activates or deactivates this alert configuration depending to the specified boolean
|
protected final AlertGruTaskConfig _config
public SMSAlertConfig(javax.servlet.http.HttpServletRequest request,
AlertGruTaskConfig config)
request - the request used by this configurationconfig - the configuration of the taskpublic String getName()
getName in interface IAlertConfigpublic boolean isActive()
isActive in interface IAlertConfigtrue if the alert configuration is active, false otherwisepublic void setActive(boolean bActive)
setActive in interface IAlertConfigbActive - true if this alert configuration must be activated, false if it must be deactivatedpublic AbstractAlertConfigValidator getValidator()
getValidator in interface IAlertConfigpublic void addConfig()
addConfig in interface IAlertConfigpublic void removeConfig()
removeConfig in interface IAlertConfigCopyright © 2019 City of Paris. All rights reserved.