Class ModuleData

    • Method Detail

      • fromJson

        public static ModuleData fromJson​(String json,
                                          com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a ModuleData object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        ModuleData object represented by the provided JSON
      • fromJson

        public static ModuleData fromJson​(InputStream json,
                                          com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a ModuleData object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        ModuleData object represented by the provided JSON
      • getUrl

        public final URI getUrl()
      • getSid

        public final String getSid()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object