Enum DockerOperation
- java.lang.Object
-
- java.lang.Enum<DockerOperation>
-
- org.apache.camel.component.docker.DockerOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<DockerOperation>
public enum DockerOperation extends Enum<DockerOperation>
Operations the Docker Component supports
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACH_CONTAINER
Container *AUTH
General *BUILD_IMAGE
Images *COMMIT_CONTAINER
CONNECT_NETWORK
COPY_FILE_CONTAINER
CREATE_CONTAINER
CREATE_IMAGE
CREATE_NETWORK
DIFF_CONTAINER
EVENTS
Events *EXEC_CREATE
Exec *EXEC_START
INFO
INSPECT_CONTAINER
INSPECT_IMAGE
KILL_CONTAINER
LIST_CONTAINERS
LIST_IMAGES
LOG_CONTAINER
PAUSE_CONTAINER
PING
PULL_IMAGE
PUSH_IMAGE
REMOVE_CONTAINER
REMOVE_IMAGE
REMOVE_NETWORK
RESTART_CONTAINER
SEARCH_IMAGES
START_CONTAINER
STATS
Stats *STOP_CONTAINER
TAG_IMAGE
TOP_CONTAINER
UNPAUSE_CONTAINER
VERSION
WAIT_CONTAINER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConsume()
boolean
canProduce()
static DockerOperation
getDockerOperation(String name)
Map<String,Class<?>>
getParameters()
boolean
isAsync()
String
toString()
static DockerOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static DockerOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVENTS
public static final DockerOperation EVENTS
Events *
-
STATS
public static final DockerOperation STATS
Stats *
-
AUTH
public static final DockerOperation AUTH
General *
-
INFO
public static final DockerOperation INFO
-
PING
public static final DockerOperation PING
-
VERSION
public static final DockerOperation VERSION
-
BUILD_IMAGE
public static final DockerOperation BUILD_IMAGE
Images *
-
CREATE_IMAGE
public static final DockerOperation CREATE_IMAGE
-
INSPECT_IMAGE
public static final DockerOperation INSPECT_IMAGE
-
LIST_IMAGES
public static final DockerOperation LIST_IMAGES
-
PULL_IMAGE
public static final DockerOperation PULL_IMAGE
-
PUSH_IMAGE
public static final DockerOperation PUSH_IMAGE
-
REMOVE_IMAGE
public static final DockerOperation REMOVE_IMAGE
-
SEARCH_IMAGES
public static final DockerOperation SEARCH_IMAGES
-
TAG_IMAGE
public static final DockerOperation TAG_IMAGE
-
ATTACH_CONTAINER
public static final DockerOperation ATTACH_CONTAINER
Container *
-
COMMIT_CONTAINER
public static final DockerOperation COMMIT_CONTAINER
-
COPY_FILE_CONTAINER
public static final DockerOperation COPY_FILE_CONTAINER
-
CREATE_CONTAINER
public static final DockerOperation CREATE_CONTAINER
-
DIFF_CONTAINER
public static final DockerOperation DIFF_CONTAINER
-
INSPECT_CONTAINER
public static final DockerOperation INSPECT_CONTAINER
-
KILL_CONTAINER
public static final DockerOperation KILL_CONTAINER
-
LIST_CONTAINERS
public static final DockerOperation LIST_CONTAINERS
-
LOG_CONTAINER
public static final DockerOperation LOG_CONTAINER
-
PAUSE_CONTAINER
public static final DockerOperation PAUSE_CONTAINER
-
RESTART_CONTAINER
public static final DockerOperation RESTART_CONTAINER
-
REMOVE_CONTAINER
public static final DockerOperation REMOVE_CONTAINER
-
START_CONTAINER
public static final DockerOperation START_CONTAINER
-
STOP_CONTAINER
public static final DockerOperation STOP_CONTAINER
-
TOP_CONTAINER
public static final DockerOperation TOP_CONTAINER
-
UNPAUSE_CONTAINER
public static final DockerOperation UNPAUSE_CONTAINER
-
CREATE_NETWORK
public static final DockerOperation CREATE_NETWORK
-
REMOVE_NETWORK
public static final DockerOperation REMOVE_NETWORK
-
CONNECT_NETWORK
public static final DockerOperation CONNECT_NETWORK
-
WAIT_CONTAINER
public static final DockerOperation WAIT_CONTAINER
-
EXEC_CREATE
public static final DockerOperation EXEC_CREATE
Exec *
-
EXEC_START
public static final DockerOperation EXEC_START
-
-
Method Detail
-
values
public static DockerOperation[] 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 (DockerOperation c : DockerOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DockerOperation 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<DockerOperation>
-
canConsume
public boolean canConsume()
-
canProduce
public boolean canProduce()
-
isAsync
public boolean isAsync()
-
getDockerOperation
public static DockerOperation getDockerOperation(String name)
-
-