Enum DeploymentType
- java.lang.Object
-
- java.lang.Enum<DeploymentType>
-
- com.microsoft.azure.toolkit.lib.legacy.appservice.DeploymentType
-
- All Implemented Interfaces:
Serializable,Comparable<DeploymentType>
public enum DeploymentType extends Enum<DeploymentType>
-
-
Field Summary
Fields Modifier and Type Field Description static StringUNKNOWN_DEPLOYMENT_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description privateDeploymentType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeploymentTypefromString(String input)static DeploymentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DeploymentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FTP
public static final DeploymentType FTP
-
ZIP
public static final DeploymentType ZIP
-
WAR
public static final DeploymentType WAR
-
JAR
public static final DeploymentType JAR
-
AUTO
public static final DeploymentType AUTO
-
NONE
public static final DeploymentType NONE
-
EMPTY
public static final DeploymentType EMPTY
-
DOCKER
public static final DeploymentType DOCKER
-
MSDEPLOY
public static final DeploymentType MSDEPLOY
-
RUN_FROM_ZIP
public static final DeploymentType RUN_FROM_ZIP
-
RUN_FROM_BLOB
public static final DeploymentType RUN_FROM_BLOB
-
-
Field Detail
-
UNKNOWN_DEPLOYMENT_TYPE
public static final String UNKNOWN_DEPLOYMENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DeploymentType[] 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 (DeploymentType c : DeploymentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentType 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
-
fromString
public static DeploymentType fromString(String input) throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
- Throws:
com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
-
-