Class DefaultVariableNameExpansion
- java.lang.Object
-
- org.opennms.features.ifttt.helper.DefaultVariableNameExpansion
-
- All Implemented Interfaces:
VariableNameExpansion
public class DefaultVariableNameExpansion extends java.lang.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
replace(java.lang.String string)
-
-
-
Constructor Detail
-
DefaultVariableNameExpansion
public DefaultVariableNameExpansion(OnmsSeverity oldSeverity, OnmsSeverity newSeverity, int oldAlarmCount, int newAlarmCount)
-
-
Method Detail
-
replace
public java.lang.String replace(java.lang.String string)
- Specified by:
replace
in interfaceVariableNameExpansion
-
-