Class ExtensionMetadata

    • Constructor Detail

      • ExtensionMetadata

        public ExtensionMetadata()
    • Method Detail

      • equals

        public abstract boolean equals​(Object other)
        Overrides:
        equals in class Object
      • isValid

        public boolean isValid()
        Validate extension metadata. Extensions should override this method in order to validate the extension-specific set of metadata attributes.
        Returns:
        true if all required extension attributes are present and attributes are valid.
      • urlEquals

        protected static boolean urlEquals​(URL a,
                                           URL b)
        Compare URLs by their string representation because calling URL.equals(Object) may trigger an unwanted and potentially slow DNS lookup to resolve the host part