Class Event
- java.lang.Object
-
- com.spotify.docker.client.messages.Event
-
- Direct Known Subclasses:
AutoValue_Event
public abstract class Event extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Event.Actor
static class
Event.Type
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract java.lang.String
action()
Event action.abstract Event.Actor
actor()
Event actor.(package private) static Event
create(java.lang.String status, java.lang.String id, java.lang.String from, Event.Type type, java.lang.String action, Event.Actor actor, java.util.Date time, java.lang.Long timeNano)
abstract java.lang.String
from()
Deprecated.Use the "image" attribute in theEvent.Actor.attributes()
map fromactor()
abstract java.lang.String
id()
Deprecated.Use theEvent.Actor.id()
field fromactor()
abstract java.lang.String
status()
Deprecated.Useaction()
insteadabstract java.util.Date
time()
abstract java.lang.Long
timeNano()
abstract Event.Type
type()
-
-
-
Method Detail
-
status
@Deprecated @Nullable public abstract java.lang.String status()
Deprecated.Useaction()
insteadEvent status.- Returns:
- status
-
id
@Deprecated @Nullable public abstract java.lang.String 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 @Nullable public abstract java.lang.String 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
@Nullable public abstract Event.Type type()
-
action
@Nullable public abstract java.lang.String action()
Event action.- Returns:
- action
- Since:
- API 1.22
-
actor
@Nullable public abstract Event.Actor actor()
Event actor.- Returns:
Event.Actor
- Since:
- API 1.22
-
time
public abstract java.util.Date time()
-
timeNano
@Nullable public abstract java.lang.Long timeNano()
-
create
static Event create(java.lang.String status, java.lang.String id, java.lang.String from, Event.Type type, java.lang.String action, Event.Actor actor, java.util.Date time, java.lang.Long timeNano)
-
-