@Beta public static enum CompositeNodeDataWithSchema.ChildReusePolicy extends Enum<CompositeNodeDataWithSchema.ChildReusePolicy>
Enum Constant and Description |
---|
NOOP
Do not consider any existing nodes at all, just perform a straight append.
|
REJECT
Do not allow duplicate definition of a child node.
|
REUSE
Reuse previously-defined child node.
|
Modifier and Type | Method and Description |
---|---|
static CompositeNodeDataWithSchema.ChildReusePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompositeNodeDataWithSchema.ChildReusePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompositeNodeDataWithSchema.ChildReusePolicy NOOP
public static final CompositeNodeDataWithSchema.ChildReusePolicy REJECT
DuplicateChildNodeRejectedException
is reported.public static final CompositeNodeDataWithSchema.ChildReusePolicy REUSE
public static CompositeNodeDataWithSchema.ChildReusePolicy[] values()
for (CompositeNodeDataWithSchema.ChildReusePolicy c : CompositeNodeDataWithSchema.ChildReusePolicy.values()) System.out.println(c);
public static CompositeNodeDataWithSchema.ChildReusePolicy 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 © 2020 OpenDaylight. All rights reserved.