public static enum ValidateJson.SchemaVersion extends Enum<ValidateJson.SchemaVersion> implements DescribedValue
| Enum Constant and Description |
|---|
DRAFT_2019_09 |
DRAFT_2020_12 |
DRAFT_4 |
DRAFT_6 |
DRAFT_7 |
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private String |
displayName |
private com.networknt.schema.SpecVersion.VersionFlag |
versionFlag |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getDisplayName() |
String |
getValue() |
com.networknt.schema.SpecVersion.VersionFlag |
getVersionFlag() |
static ValidateJson.SchemaVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidateJson.SchemaVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidateJson.SchemaVersion DRAFT_4
public static final ValidateJson.SchemaVersion DRAFT_6
public static final ValidateJson.SchemaVersion DRAFT_7
public static final ValidateJson.SchemaVersion DRAFT_2019_09
public static final ValidateJson.SchemaVersion DRAFT_2020_12
private final String description
private final String displayName
private final com.networknt.schema.SpecVersion.VersionFlag versionFlag
public static ValidateJson.SchemaVersion[] values()
for (ValidateJson.SchemaVersion c : ValidateJson.SchemaVersion.values()) System.out.println(c);
public static ValidateJson.SchemaVersion 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 getValue()
getValue in interface DescribedValuepublic String getDisplayName()
getDisplayName in interface DescribedValuepublic String getDescription()
getDescription in interface DescribedValuepublic com.networknt.schema.SpecVersion.VersionFlag getVersionFlag()
Copyright © 2023 Apache NiFi Project. All rights reserved.