Enum PatchUtils.Format
- java.lang.Object
-
- java.lang.Enum<PatchUtils.Format>
-
- io.fabric8.kubernetes.client.dsl.internal.PatchUtils.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<PatchUtils.Format>
- Enclosing class:
- PatchUtils
public static enum PatchUtils.Format extends Enum<PatchUtils.Format>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PatchUtils.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static PatchUtils.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YAML
public static final PatchUtils.Format YAML
-
JSON
public static final PatchUtils.Format JSON
-
-
Method Detail
-
values
public static PatchUtils.Format[] 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 (PatchUtils.Format c : PatchUtils.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatchUtils.Format 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
-
-