Package nl.lexemmens.podman.enumeration
Enum PodmanCommand
- java.lang.Object
-
- java.lang.Enum<PodmanCommand>
-
- nl.lexemmens.podman.enumeration.PodmanCommand
-
- All Implemented Interfaces:
Serializable,Comparable<PodmanCommand>
public enum PodmanCommand extends Enum<PodmanCommand>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommand()static PodmanCommandvalueOf(String name)Returns the enum constant of this type with the specified name.static PodmanCommand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PODMAN
public static final PodmanCommand PODMAN
-
LOGIN
public static final PodmanCommand LOGIN
-
BUILD
public static final PodmanCommand BUILD
-
TAG
public static final PodmanCommand TAG
-
SAVE
public static final PodmanCommand SAVE
-
PUSH
public static final PodmanCommand PUSH
-
RMI
public static final PodmanCommand RMI
-
VERSION
public static final PodmanCommand VERSION
-
-
Method Detail
-
values
public static PodmanCommand[] 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 (PodmanCommand c : PodmanCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PodmanCommand 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
-
getCommand
public String getCommand()
-
-