public static enum ModelNode.Type extends java.lang.Enum<ModelNode.Type>
| Enum Constant and Description |
|---|
ALL |
ASSERTION |
ASSERTION_PARAMETER_NODE |
EXACTLY_ONE |
POLICY |
POLICY_REFERENCE |
| Modifier and Type | Method and Description |
|---|---|
XmlToken |
getXmlToken() |
private boolean |
isChildTypeSupported(ModelNode.Type childType)
Method checks the PSM state machine if the creation of new child of given type is plausible for a node element
with type set to this type instance.
|
static ModelNode.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelNode.Type POLICY
public static final ModelNode.Type ALL
public static final ModelNode.Type EXACTLY_ONE
public static final ModelNode.Type POLICY_REFERENCE
public static final ModelNode.Type ASSERTION
public static final ModelNode.Type ASSERTION_PARAMETER_NODE
private XmlToken token
public static ModelNode.Type[] values()
for (ModelNode.Type c : ModelNode.Type.values()) System.out.println(c);
public static ModelNode.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic XmlToken getXmlToken()
private boolean isChildTypeSupported(ModelNode.Type childType)
childType - The type.