Package com.oracle.bmc.devops.model
Enum PatchInsertInstruction.Position
- java.lang.Object
-
- java.lang.Enum<PatchInsertInstruction.Position>
-
- com.oracle.bmc.devops.model.PatchInsertInstruction.Position
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PatchInsertInstruction.Position>
- Enclosing class:
- PatchInsertInstruction
public static enum PatchInsertInstruction.Position extends Enum<PatchInsertInstruction.Position> implements BmcEnum
Where to insert the value, relative to the first item matched by selectedItem.If selectedItem is unspecified, then “BEFORE” specifies insertion at the first position in an array and “AFTER” specifies insertion at the last position. If selectedItem is specified but results in an empty selection, then both values specify insertion at the last position.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchInsertInstruction.Position
create(String key)
String
getValue()
static PatchInsertInstruction.Position
valueOf(String name)
Returns the enum constant of this type with the specified name.static PatchInsertInstruction.Position[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Before
public static final PatchInsertInstruction.Position Before
-
After
public static final PatchInsertInstruction.Position After
-
-
Method Detail
-
values
public static PatchInsertInstruction.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 (PatchInsertInstruction.Position c : PatchInsertInstruction.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 PatchInsertInstruction.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 PatchInsertInstruction.Position create(String key)
-
-