public enum MergeMode extends Enum<MergeMode>
Enum Constant and Description |
---|
KEEP_ALL
The 'master' descriptor values are all kept
|
MERGE_COLLECTIONS
The same as OVERRIDE_EMPTY except that collections are merged instead of being overridden
|
OVERRIDE_ALL
The 'slave' descriptor values are all used
|
OVERRIDE_EMPTY
The 'slave' non-empty values override corresponding values of the master, including collections
|
Modifier and Type | Method and Description |
---|---|
static MergeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeMode KEEP_ALL
public static final MergeMode OVERRIDE_ALL
public static final MergeMode OVERRIDE_EMPTY
public static final MergeMode MERGE_COLLECTIONS
public static MergeMode[] values()
for (MergeMode c : MergeMode.values()) System.out.println(c);
public static 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 © 2001–2018 JBoss by Red Hat. All rights reserved.