public enum SchemaVersion extends Enum<SchemaVersion>
Modifier and Type | Method and Description |
---|---|
Library |
getLibrary() |
JsonRef |
getLocation() |
JsonNode |
getSchema() |
static SchemaVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Predicate<ValidationData> |
versionTest() |
public static final SchemaVersion DRAFTV4
public static final SchemaVersion DRAFTV3
public static SchemaVersion[] values()
for (SchemaVersion c : SchemaVersion.values()) System.out.println(c);
public static 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 JsonRef getLocation()
public JsonNode getSchema()
public Library getLibrary()
public Predicate<ValidationData> versionTest()
Copyright © 2013. All Rights Reserved.