Interface IAlertConfig
- All Known Implementing Classes:
AgentAlertConfig,BillingAccountBasedSMSAlertConfig,BroadcastAlertConfig,EmailAlertConfig,GuichetAlertConfig,SMSAlertConfig
public interface IAlertConfig
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds this alert configurationgetName()Gives the name of the alert configurationGives the validator for this alert configurationbooleanisActive()Tests if this alert configuration is active or notvoidRemoves this alert configurationvoidsetActive(boolean bActive) Activates or deactivates this alert configuration depending to the specified boolean
-
Method Details
-
getName
String getName()Gives the name of the alert configuration- Returns:
- the name
-
isActive
boolean isActive()Tests if this alert configuration is active or not- Returns:
trueif the alert configuration is active,falseotherwise
-
setActive
void setActive(boolean bActive) Activates or deactivates this alert configuration depending to the specified boolean- Parameters:
bActive-trueif this alert configuration must be activated,falseif it must be deactivated
-
addConfig
void addConfig()Adds this alert configuration -
removeConfig
void removeConfig()Removes this alert configuration -
getValidator
AbstractAlertConfigValidator getValidator()Gives the validator for this alert configuration- Returns:
- the validator
-