Package graphql.util
Enum NodeZipper.ModificationType
- java.lang.Object
-
- java.lang.Enum<NodeZipper.ModificationType>
-
- graphql.util.NodeZipper.ModificationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NodeZipper.ModificationType>
- Enclosing class:
- NodeZipper<T>
public static enum NodeZipper.ModificationType extends java.lang.Enum<NodeZipper.ModificationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE
INSERT_AFTER
INSERT_BEFORE
REPLACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeZipper.ModificationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NodeZipper.ModificationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final NodeZipper.ModificationType REPLACE
-
DELETE
public static final NodeZipper.ModificationType DELETE
-
INSERT_AFTER
public static final NodeZipper.ModificationType INSERT_AFTER
-
INSERT_BEFORE
public static final NodeZipper.ModificationType INSERT_BEFORE
-
-
Method Detail
-
values
public static NodeZipper.ModificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NodeZipper.ModificationType c : NodeZipper.ModificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeZipper.ModificationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-