Package com.oracle.bmc.devops.model
Enum PatchMoveInstruction.Position
- java.lang.Object
-
- java.lang.Enum<PatchMoveInstruction.Position>
-
- com.oracle.bmc.devops.model.PatchMoveInstruction.Position
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PatchMoveInstruction.Position>
- Enclosing class:
- PatchMoveInstruction
public static enum PatchMoveInstruction.Position extends Enum<PatchMoveInstruction.Position> implements BmcEnum
Where to insert the value in an array, relative to the first item in the selection.If there is no such item, then “BEFORE” specifies insertion at the first position in an array and “AFTER” specifies insertion at the last position. If the first item in the selection is not the child of an array, then this field has no effect.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchMoveInstruction.Position
create(String key)
String
getValue()
static PatchMoveInstruction.Position
valueOf(String name)
Returns the enum constant of this type with the specified name.static PatchMoveInstruction.Position[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
At
public static final PatchMoveInstruction.Position At
-
Before
public static final PatchMoveInstruction.Position Before
-
After
public static final PatchMoveInstruction.Position After
-
-
Method Detail
-
values
public static PatchMoveInstruction.Position[] 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 (PatchMoveInstruction.Position c : PatchMoveInstruction.Position.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatchMoveInstruction.Position valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static PatchMoveInstruction.Position create(String key)
-
-