Enum DockerImageType
- java.lang.Object
-
- java.lang.Enum<DockerImageType>
-
- com.microsoft.azure.toolkit.lib.legacy.appservice.DockerImageType
-
- All Implemented Interfaces:
Serializable,Comparable<DockerImageType>
public enum DockerImageType extends Enum<DockerImageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEPRIVATE_DOCKER_HUBPRIVATE_REGISTRYPUBLIC_DOCKER_HUBUNKNOWN
-
Constructor Summary
Constructors Modifier Constructor Description privateDockerImageType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DockerImageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DockerImageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DockerImageType NONE
-
PUBLIC_DOCKER_HUB
public static final DockerImageType PUBLIC_DOCKER_HUB
-
PRIVATE_DOCKER_HUB
public static final DockerImageType PRIVATE_DOCKER_HUB
-
PRIVATE_REGISTRY
public static final DockerImageType PRIVATE_REGISTRY
-
UNKNOWN
public static final DockerImageType UNKNOWN
-
-
Method Detail
-
values
public static DockerImageType[] 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 (DockerImageType c : DockerImageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DockerImageType 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
-
-