public enum SpecificationVersion extends Enum<SpecificationVersion>
| Enum Constant and Description |
|---|
DRAFT_2019_09 |
DRAFT_2020_12 |
DRAFT_4 |
DRAFT_6 |
DRAFT_7 |
| Modifier and Type | Method and Description |
|---|---|
static SpecificationVersion |
get(String name) |
static SpecificationVersion |
getFromUrl(String url) |
List<String> |
getUrls() |
String |
toString() |
static SpecificationVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecificationVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecificationVersion DRAFT_4
public static final SpecificationVersion DRAFT_6
public static final SpecificationVersion DRAFT_7
public static final SpecificationVersion DRAFT_2019_09
public static final SpecificationVersion DRAFT_2020_12
public static SpecificationVersion[] values()
for (SpecificationVersion c : SpecificationVersion.values()) System.out.println(c);
public static SpecificationVersion 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 static SpecificationVersion get(String name)
public static SpecificationVersion getFromUrl(String url)
public String toString()
toString in class Enum<SpecificationVersion>Copyright © 2026 Confluent, Inc.. All rights reserved.