public enum PatchType extends Enum<PatchType>
| Enum Constant and Description |
|---|
JSON |
JSON_MERGE |
SERVER_SIDE_APPLY |
STRATEGIC_MERGE |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
static PatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchType JSON
public static final PatchType JSON_MERGE
public static final PatchType STRATEGIC_MERGE
public static final PatchType SERVER_SIDE_APPLY
public static PatchType[] values()
for (PatchType c : PatchType.values()) System.out.println(c);
public static PatchType 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 String getContentType()
Copyright © 2015–2024 Red Hat. All rights reserved.