public class DocumentationType
extends org.springframework.plugin.metadata.SimplePluginMetadata
| Modifier and Type | Field and Description |
|---|---|
static DocumentationType |
SPRING_WEB |
static DocumentationType |
SWAGGER_12 |
static DocumentationType |
SWAGGER_2 |
| Constructor and Description |
|---|
DocumentationType(java.lang.String name,
java.lang.String version) |
DocumentationType(java.lang.String name,
java.lang.String version,
org.springframework.http.MediaType mediaType)
Creates a new instance of
SimplePluginMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.springframework.http.MediaType |
getMediaType() |
int |
hashCode() |
public static final DocumentationType SWAGGER_12
public static final DocumentationType SWAGGER_2
public static final DocumentationType SPRING_WEB
public DocumentationType(java.lang.String name,
java.lang.String version,
org.springframework.http.MediaType mediaType)
SimplePluginMetadata.name - must not be null.version - must not be null.mediaType - must not be nullpublic DocumentationType(java.lang.String name,
java.lang.String version)
public org.springframework.http.MediaType getMediaType()
public boolean equals(java.lang.Object o)
equals in class org.springframework.plugin.metadata.SimplePluginMetadatapublic int hashCode()
hashCode in class org.springframework.plugin.metadata.SimplePluginMetadata