Class DocumentationType

  • All Implemented Interfaces:
    org.springframework.plugin.metadata.PluginMetadata

    public class DocumentationType
    extends org.springframework.plugin.metadata.SimplePluginMetadata
    • Constructor Detail

      • DocumentationType

        public DocumentationType​(java.lang.String name,
                                 java.lang.String version,
                                 org.springframework.http.MediaType mediaType)
        Creates a new instance of SimplePluginMetadata.
        Parameters:
        name - must not be null.
        version - must not be null.
        mediaType - must not be null
      • DocumentationType

        public DocumentationType​(java.lang.String name,
                                 java.lang.String version)
    • Method Detail

      • getMediaType

        public org.springframework.http.MediaType getMediaType()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class org.springframework.plugin.metadata.SimplePluginMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.springframework.plugin.metadata.SimplePluginMetadata