Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String replace​(java.lang.String string)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultVariableNameExpansion

        public DefaultVariableNameExpansion​(OnmsSeverity oldSeverity,
                                            OnmsSeverity newSeverity,
                                            int oldAlarmCount,
                                            int newAlarmCount)