public enum ArtifactType extends Enum<ArtifactType>
Enum Constant and Description |
---|
ASYNCAPI |
AVRO |
JSON |
OPENAPI |
PROTOBUF |
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 JSON
public static final ArtifactType OPENAPI
public static final ArtifactType ASYNCAPI
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 © 2019 Red Hat. All rights reserved.