public enum ArtifactType extends Enum<ArtifactType>
Enum Constant and Description |
---|
ASYNCAPI |
AVRO |
GRAPHQL |
JSON |
KCONNECT |
OPENAPI |
PROTOBUF |
PROTOBUF_FD |
WSDL |
XML |
XSD |
Modifier and Type | Method and Description |
---|---|
static ArtifactType |
fromValue(String value) |
String |
toString() |
String |
value() |
static ArtifactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactType AVRO
public static final ArtifactType PROTOBUF
public static final ArtifactType PROTOBUF_FD
public static final ArtifactType JSON
public static final ArtifactType OPENAPI
public static final ArtifactType ASYNCAPI
public static final ArtifactType GRAPHQL
public static final ArtifactType KCONNECT
public static final ArtifactType WSDL
public static final ArtifactType XSD
public static final ArtifactType XML
public static ArtifactType[] values()
for (ArtifactType c : ArtifactType.values()) System.out.println(c);
public static ArtifactType 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 nullpublic String toString()
toString
in class Enum<ArtifactType>
public String value()
public static ArtifactType fromValue(String value)
Copyright © 2020 Red Hat. All rights reserved.