Enum ContainerWorkingDirectory
- java.lang.Object
-
- java.lang.Enum<ContainerWorkingDirectory>
-
- com.microsoft.azure.batch.protocol.models.ContainerWorkingDirectory
-
- All Implemented Interfaces:
Serializable
,Comparable<ContainerWorkingDirectory>
public enum ContainerWorkingDirectory extends Enum<ContainerWorkingDirectory>
Defines values for ContainerWorkingDirectory.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINER_IMAGE_DEFAULT
Use the working directory defined in the container Image.TASK_WORKING_DIRECTORY
Use the standard Batch service Task working directory, which will contain the Task Resource Files populated by Batch.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerWorkingDirectory
fromString(String value)
Parses a serialized value to a ContainerWorkingDirectory instance.String
toString()
static ContainerWorkingDirectory
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContainerWorkingDirectory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK_WORKING_DIRECTORY
public static final ContainerWorkingDirectory TASK_WORKING_DIRECTORY
Use the standard Batch service Task working directory, which will contain the Task Resource Files populated by Batch.
-
CONTAINER_IMAGE_DEFAULT
public static final ContainerWorkingDirectory CONTAINER_IMAGE_DEFAULT
Use the working directory defined in the container Image. Beware that this directory will not contain the Resource Files downloaded by Batch.
-
-
Method Detail
-
values
public static ContainerWorkingDirectory[] 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 (ContainerWorkingDirectory c : ContainerWorkingDirectory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerWorkingDirectory 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 ContainerWorkingDirectory fromString(String value)
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
public String toString()
- Overrides:
toString
in classEnum<ContainerWorkingDirectory>
-
-