Class EdgeConfigDiff


  • public class EdgeConfigDiff
    extends java.lang.Object
    • Constructor Detail

      • EdgeConfigDiff

        public EdgeConfigDiff()
    • Method Detail

      • diff

        public static EdgeConfigDiff diff​(EdgeConfig newConfig,
                                          EdgeConfig oldConfig)
        Find difference between two EdgeConfigs.
        Parameters:
        newConfig - the new EdgeConfig
        oldConfig - the old EdgeConfig
        Returns:
        an instance of EdgeConfigDiff
      • getAsHtml

        public java.lang.String getAsHtml()
        Formats the Diff as a HTML table.
        Returns:
        a String with the HTML code
      • getAsText

        public java.lang.String getAsText()
        Formats the Diff as Text.
        Returns:
        a String representing the Diff
      • isDifferent

        public boolean isDifferent()
        Gets whether this diff is not empty, i.e. the EdgeConfig instances were different.
        Returns:
        true for different EdgeConfigs.
      • toString

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