Interface IAlertConfig
-
- All Known Implementing Classes:
AgentAlertConfig,BillingAccountBasedSMSAlertConfig,BroadcastAlertConfig,EmailAlertConfig,GuichetAlertConfig,SMSAlertConfig
public interface IAlertConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConfig()Adds this alert configurationjava.lang.StringgetName()Gives the name of the alert configurationAbstractAlertConfigValidatorgetValidator()Gives the validator for this alert configurationbooleanisActive()Tests if this alert configuration is active or notvoidremoveConfig()Removes this alert configurationvoidsetActive(boolean bActive)Activates or deactivates this alert configuration depending to the specified boolean
-
-
-
Method Detail
-
getName
java.lang.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
-
-