Class AlarmConfigurationDiff

    • Constructor Detail

      • AlarmConfigurationDiff

        public AlarmConfigurationDiff()
    • Method Detail

      • getCount

        public int getCount()
        In this case, count does not mean "alarms", but instead, number of edits present.
        Specified by:
        getCount in interface Countable
      • getRemoved

        public java.util.Set<java.lang.String> getRemoved()
        Returns the names of the removed AlarmDefinitions.
      • isRemoved

        public boolean isRemoved​(java.lang.String name)
      • isModified

        public boolean isModified​(java.lang.String name)
      • get

        public AlarmDefinition get​(java.lang.String name)
        Returns a fresh AlarmDefinitionDiff when first called for a name, unless the name has been removed.
        Specified by:
        get in interface AlarmConfiguration
      • find

        protected java.util.Map.Entry<java.lang.String,​AlarmDefinition> find​(java.lang.String name)
      • hasChanges

        public boolean hasChanges()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object