public static enum SwaggerMojo.Format extends Enum<SwaggerMojo.Format>
Enum Constant and Description |
---|
JSON |
JSONANDYAML |
YAML |
Modifier and Type | Method and Description |
---|---|
static SwaggerMojo.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwaggerMojo.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwaggerMojo.Format JSON
public static final SwaggerMojo.Format YAML
public static final SwaggerMojo.Format JSONANDYAML
public static SwaggerMojo.Format[] values()
for (SwaggerMojo.Format c : SwaggerMojo.Format.values()) System.out.println(c);
public static SwaggerMojo.Format valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 JBoss by Red Hat. All rights reserved.