Class Event
java.lang.Object
com.spotify.docker.client.messages.Event
- Direct Known Subclasses:
AutoValue_Event
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
action()
Event action.abstract Event.Actor
actor()
Event actor.(package private) static Event
create
(String status, String id, String from, Event.Type type, String action, Event.Actor actor, Date time, Long timeNano) abstract String
from()
Deprecated.abstract String
id()
Deprecated.Use theEvent.Actor.id()
field fromactor()
abstract String
status()
Deprecated.Useaction()
insteadabstract Date
time()
abstract Long
timeNano()
abstract Event.Type
type()
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
status
Deprecated.Useaction()
insteadEvent status.- Returns:
- status
-
id
Deprecated.Use theEvent.Actor.id()
field fromactor()
Event actor id. When the event type is "container" this is the container id.- Returns:
- id
-
from
Deprecated.Use the "image" attribute in theEvent.Actor.attributes()
map fromactor()
When the event type is "container" this is the image id.- Returns:
- from
-
type
-
action
Event action.- Returns:
- action
- Since:
- API 1.22
-
actor
Event actor.- Returns:
Event.Actor
- Since:
- API 1.22
-
time
-
timeNano
-
create
static Event create(String status, String id, String from, Event.Type type, String action, Event.Actor actor, Date time, Long timeNano)
-
Event.Actor.attributes()
map fromactor()