public static enum Node.Acceptance extends Enum<Node.Acceptance>
| Enum Constant and Description |
|---|
ALREADY_HAS_A_PARENT |
CANNOT_ACCEPT_ANYMORE_CHILDREN |
INVALID_PARENT |
OK |
SOURCE_PROPERTY_EXPECTED |
TARGET_PROPERTY_EXPECTED |
| Modifier and Type | Method and Description |
|---|---|
static Node.Acceptance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Node.Acceptance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.Acceptance OK
public static final Node.Acceptance INVALID_PARENT
public static final Node.Acceptance ALREADY_HAS_A_PARENT
public static final Node.Acceptance CANNOT_ACCEPT_ANYMORE_CHILDREN
public static final Node.Acceptance SOURCE_PROPERTY_EXPECTED
public static final Node.Acceptance TARGET_PROPERTY_EXPECTED
public static Node.Acceptance[] values()
for (Node.Acceptance c : Node.Acceptance.values()) System.out.println(c);
public static Node.Acceptance 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 © 2019. All rights reserved.