public static enum Links.MergeMode extends Enum<Links.MergeMode>
Links
instances.Enum Constant and Description |
---|
REPLACE_BY_REL
Replaces existing links with the same link relation.
|
SKIP_BY_EQUALITY
Skips to add the same links on merge.
|
SKIP_BY_REL
Skips to add links with the same link relation, i.e. existing ones with the same relation are preferred.
|
Modifier and Type | Method and Description |
---|---|
static Links.MergeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Links.MergeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Links.MergeMode SKIP_BY_EQUALITY
public static final Links.MergeMode SKIP_BY_REL
public static final Links.MergeMode REPLACE_BY_REL
public static Links.MergeMode[] values()
for (Links.MergeMode c : Links.MergeMode.values()) System.out.println(c);
public static Links.MergeMode 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-2019–2019 Pivotal, Inc.. All rights reserved.