public class EventsCmdImpl extends AbstrAsyncDockerCmd<EventsCmd,Event> implements EventsCmd
EventsCmd.Exec
execution
Constructor and Description |
---|
EventsCmdImpl(EventsCmd.Exec exec) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getFilters() |
String |
getSince() |
String |
getUntil() |
EventsCmd |
withContainerFilter(String... container) |
EventsCmd |
withEventFilter(String... event) |
EventsCmd |
withImageFilter(String... image) |
EventsCmd |
withLabelFilter(Map<String,String> labels) |
EventsCmd |
withLabelFilter(String... label) |
EventsCmd |
withSince(String since) |
EventsCmd |
withUntil(String until) |
close, exec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exec
public EventsCmdImpl(EventsCmd.Exec exec)
public EventsCmd withContainerFilter(String... container)
withContainerFilter
in interface EventsCmd
container
- - container to filterpublic EventsCmd withImageFilter(String... image)
withImageFilter
in interface EventsCmd
image
- - image to filterpublic EventsCmd withEventFilter(String... event)
withEventFilter
in interface EventsCmd
event
- - event to filter (pull | create | attach | start | stop | kill)public EventsCmd withLabelFilter(String... label)
withLabelFilter
in interface EventsCmd
label
- - label to filterpublic EventsCmd withLabelFilter(Map<String,String> labels)
withLabelFilter
in interface EventsCmd
labels
- - labels to filter (map of names and values)Copyright © 2017. All Rights Reserved.