Class DefaultVariableNameExpansion
- java.lang.Object
-
- org.opennms.features.ifttt.helper.DefaultVariableNameExpansion
-
- All Implemented Interfaces:
VariableNameExpansion
public class DefaultVariableNameExpansion extends Object implements VariableNameExpansion
Default implementation for variable replacements. This class replaces placeholders with the old and new severity and the old and new alarm count.
-
-
Constructor Summary
Constructors Constructor Description DefaultVariableNameExpansion(OnmsSeverity oldSeverity, OnmsSeverity newSeverity, int oldAlarmCount, int newAlarmCount)
-
-
-
Constructor Detail
-
DefaultVariableNameExpansion
public DefaultVariableNameExpansion(OnmsSeverity oldSeverity, OnmsSeverity newSeverity, int oldAlarmCount, int newAlarmCount)
-
-
Method Detail
-
replace
public String replace(String string)
- Specified by:
replace
in interfaceVariableNameExpansion
-
-