@ExportedBean public enum DockerEventType extends Enum<DockerEventType>
DockerEvent
s.
Enum contains all events from
Docker API v.1.16Enum Constant and Description |
---|
CREATE
Container has been created.
|
DELETE |
DESTROY |
DIE
Container has been terminated.
|
EXPORT |
INSPECT_CONTAINER
Inspect reports (just to update statuses).
|
KILL |
NONE
Indicates there's no event.
|
PAUSE |
RESTART |
START
Container has been started.
|
STOP |
UNKNOWN
Unknown (unregistered) event.
|
UNPAUSE |
UNTAG |
Modifier and Type | Method and Description |
---|---|
static DockerEventType |
fromString(String str) |
boolean |
isContainerEvent() |
boolean |
isImageEvent() |
static DockerEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DockerEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockerEventType CREATE
public static final DockerEventType START
public static final DockerEventType DIE
public static final DockerEventType INSPECT_CONTAINER
public static final DockerEventType DESTROY
public static final DockerEventType EXPORT
public static final DockerEventType KILL
public static final DockerEventType PAUSE
public static final DockerEventType RESTART
public static final DockerEventType STOP
public static final DockerEventType UNPAUSE
public static final DockerEventType UNTAG
public static final DockerEventType DELETE
public static final DockerEventType NONE
public static final DockerEventType UNKNOWN
DockerEvent
class DockerEvent.getEventTypeStr()
should
be used in such case.public static DockerEventType[] values()
for (DockerEventType c : DockerEventType.values()) System.out.println(c);
public static DockerEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public static DockerEventType fromString(@CheckForNull String str)
public boolean isContainerEvent()
UNKNOWN
public boolean isImageEvent()
Copyright © 2015–2016. All rights reserved.