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 Stringaction()Event action.abstract Event.Actoractor()Event actor.(package private) static Eventcreate(String status, String id, String from, Event.Type type, String action, Event.Actor actor, Date time, Long timeNano) abstract Stringfrom()Deprecated.abstract Stringid()Deprecated.Use theEvent.Actor.id()field fromactor()abstract Stringstatus()Deprecated.Useaction()insteadabstract Datetime()abstract LongtimeNano()abstract Event.Typetype()
-
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()