public static enum HalConfiguration.RenderSingleLinks extends Enum<HalConfiguration.RenderSingleLinks>
Enum Constant and Description |
---|
AS_ARRAY
A single
Link is rendered as a JSON Array. |
AS_SINGLE
A single
Link is rendered as a JSON object. |
Modifier and Type | Method and Description |
---|---|
static HalConfiguration.RenderSingleLinks |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HalConfiguration.RenderSingleLinks[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HalConfiguration.RenderSingleLinks AS_SINGLE
Link
is rendered as a JSON object.public static final HalConfiguration.RenderSingleLinks AS_ARRAY
Link
is rendered as a JSON Array.public static HalConfiguration.RenderSingleLinks[] values()
for (HalConfiguration.RenderSingleLinks c : HalConfiguration.RenderSingleLinks.values()) System.out.println(c);
public static HalConfiguration.RenderSingleLinks 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 nullCopyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.