public static enum PatchInstruction.Operation extends Enum<PatchInstruction.Operation> implements BmcEnum
The type of this patch instruction.
Enum Constant and Description |
---|
Insert |
Merge |
Move |
Prohibit |
Remove |
Replace |
Require |
Modifier and Type | Method and Description |
---|---|
static PatchInstruction.Operation |
create(String key) |
String |
getValue() |
static PatchInstruction.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchInstruction.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchInstruction.Operation Require
public static final PatchInstruction.Operation Prohibit
public static final PatchInstruction.Operation Replace
public static final PatchInstruction.Operation Insert
public static final PatchInstruction.Operation Remove
public static final PatchInstruction.Operation Move
public static final PatchInstruction.Operation Merge
public static PatchInstruction.Operation[] values()
for (PatchInstruction.Operation c : PatchInstruction.Operation.values()) System.out.println(c);
public static PatchInstruction.Operation 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 nullpublic static PatchInstruction.Operation create(String key)
Copyright © 2016–2024. All rights reserved.