public class Event extends Object
Constructor and Description |
---|
Event()
Default constructor for the deserialization.
|
Event(String status,
String id,
String from,
long time)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFrom()
Get source image of the container.
|
String |
getId()
Get ID of docker container.
|
Node |
getNode()
Returns the node when working against docker swarm
|
String |
getStatus()
Status of docker image or container.
|
long |
getTime()
Get the event time.
|
String |
toString() |
public Event()
public Event(String status, String id, String from, long time)
id
- Container IDstatus
- Status string. List of statuses is available in Docker
API v.1.16from
- Image, from which the container has been createdtime
- Event time The time is specified in milliseconds since January 1, 1970, 00:00:00 GMTpublic String getStatus()
public String getId()
public String getFrom()
public long getTime()
public Node getNode()
Copyright © 2015. All Rights Reserved.