Package org.mandas.docker.client
Enum DockerClient.AttachParameter
- java.lang.Object
-
- java.lang.Enum<DockerClient.AttachParameter>
-
- org.mandas.docker.client.DockerClient.AttachParameter
-
- All Implemented Interfaces:
Serializable
,Comparable<DockerClient.AttachParameter>
- Enclosing interface:
- DockerClient
public static enum DockerClient.AttachParameter extends Enum<DockerClient.AttachParameter>
Parameters forDockerClient.attachContainer(String, AttachParameter...)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DockerClient.AttachParameter
valueOf(String name)
Returns the enum constant of this type with the specified name.static DockerClient.AttachParameter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGS
public static final DockerClient.AttachParameter LOGS
-
STREAM
public static final DockerClient.AttachParameter STREAM
-
STDIN
public static final DockerClient.AttachParameter STDIN
-
STDOUT
public static final DockerClient.AttachParameter STDOUT
-
STDERR
public static final DockerClient.AttachParameter STDERR
-
-
Method Detail
-
values
public static DockerClient.AttachParameter[] 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 (DockerClient.AttachParameter c : DockerClient.AttachParameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DockerClient.AttachParameter 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
-
-