public enum JsonSchemaFormat extends Enum<JsonSchemaFormat>
Enum Constant and Description |
---|
DATE_TIME |
EMAIL |
HOSTNAME |
IPV4 |
IPV6 |
URI |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static JsonSchemaFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonSchemaFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonSchemaFormat EMAIL
public static final JsonSchemaFormat DATE_TIME
public static final JsonSchemaFormat HOSTNAME
public static final JsonSchemaFormat IPV4
public static final JsonSchemaFormat IPV6
public static final JsonSchemaFormat URI
public static JsonSchemaFormat[] values()
for (JsonSchemaFormat c : JsonSchemaFormat.values()) System.out.println(c);
public static JsonSchemaFormat 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<JsonSchemaFormat>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.