com.github.dockerjava.client.command
Class LogContainerCmd

java.lang.Object
  extended by com.github.dockerjava.client.command.AbstrDockerCmd<LogContainerCmd,com.sun.jersey.api.client.ClientResponse>
      extended by com.github.dockerjava.client.command.LogContainerCmd
All Implemented Interfaces:
DockerCmd<com.sun.jersey.api.client.ClientResponse>

public class LogContainerCmd
extends AbstrDockerCmd<LogContainerCmd,com.sun.jersey.api.client.ClientResponse>

Get container logs


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
LogContainerCmd(String containerId)
           
 
Method Summary
protected  com.sun.jersey.api.client.ClientResponse impl()
           
 LogContainerCmd withContainerId(String containerId)
           
 LogContainerCmd withFollowStream()
           
 LogContainerCmd withFollowStream(boolean followStream)
           
 LogContainerCmd withStdErr()
           
 LogContainerCmd withStdErr(boolean stderr)
           
 LogContainerCmd withStdOut()
           
 LogContainerCmd withStdOut(boolean stdout)
           
 LogContainerCmd withTimestamps(boolean timestamps)
           
 
Methods inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
exec, withBaseResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogContainerCmd

public LogContainerCmd(String containerId)
Method Detail

withContainerId

public LogContainerCmd withContainerId(String containerId)

withFollowStream

public LogContainerCmd withFollowStream()

withFollowStream

public LogContainerCmd withFollowStream(boolean followStream)

withTimestamps

public LogContainerCmd withTimestamps(boolean timestamps)

withStdOut

public LogContainerCmd withStdOut()

withStdOut

public LogContainerCmd withStdOut(boolean stdout)

withStdErr

public LogContainerCmd withStdErr()

withStdErr

public LogContainerCmd withStdErr(boolean stderr)

impl

protected com.sun.jersey.api.client.ClientResponse impl()
                                                 throws DockerException
Throws:
DockerException


Copyright © 2014. All rights reserved.