Enum Class ContainerWorkingDirectory
java.lang.Object
java.lang.Enum<ContainerWorkingDirectory>
com.microsoft.azure.management.batch.ContainerWorkingDirectory
- All Implemented Interfaces:
Serializable
,Comparable<ContainerWorkingDirectory>
,java.lang.constant.Constable
Defines values for ContainerWorkingDirectory.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsing container image defined working directory.Use the standard Batch service task working directory, which will contain the Task resource files populated by Batch. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContainerWorkingDirectory
fromString
(String value) Parses a serialized value to a ContainerWorkingDirectory instance.toString()
static ContainerWorkingDirectory
Returns the enum constant of this class with the specified name.static ContainerWorkingDirectory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TASK_WORKING_DIRECTORY
Use the standard Batch service task working directory, which will contain the Task resource files populated by Batch. -
CONTAINER_IMAGE_DEFAULT
Using container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Parses a serialized value to a ContainerWorkingDirectory instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed ContainerWorkingDirectory object, or null if unable to parse.
-
toString
- Overrides:
toString
in classEnum<ContainerWorkingDirectory>
-