Package org.brapi.schematools.cli
Enum Class OutputFormat
- All Implemented Interfaces:
Serializable,Comparable<OutputFormat>,Constable
Enumeration that provides the possible outputs for generator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse this format to generate a GraphQL schemaUse this format to generate a GraphQL schema in introspection formatUse this format to generate Markdown for type and their field descriptionsUse this format to generate an OpenAPI specification in YAMLUse this format to generate an OpenAPI specification in JSONUse this format to generate OWL specification in turtle formatUse this format to generate Excel (xlsx) for types and their field descriptions -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputFormatReturns the enum constant of this class with the specified name.static OutputFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN_API
Use this format to generate an OpenAPI specification in YAML -
OPEN_API_JSON
Use this format to generate an OpenAPI specification in JSON -
GRAPHQL
Use this format to generate a GraphQL schema -
GRAPHQL_INTROSPECTION
Use this format to generate a GraphQL schema in introspection format -
OWL
Use this format to generate OWL specification in turtle format -
MARKDOWN
Use this format to generate Markdown for type and their field descriptions -
XLSX
Use this format to generate Excel (xlsx) for types and their field descriptions
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-