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
 String getContainerId()
           
 int getTail()
           
 boolean hasFollowStreamEnabled()
           
 boolean hasStderrEnabled()
           
 boolean hasStdoutEnabled()
           
 boolean hasTimestampsEnabled()
           
protected  com.sun.jersey.api.client.ClientResponse impl()
           
 String toString()
           
 LogContainerCmd withContainerId(String containerId)
           
 LogContainerCmd withFollowStream()
           
 LogContainerCmd withFollowStream(boolean followStream)
           
 LogContainerCmd withStdErr()
           
 LogContainerCmd withStdErr(boolean stderr)
           
 LogContainerCmd withStdOut()
           
 LogContainerCmd withStdOut(boolean stdout)
           
 LogContainerCmd withTail(int tail)
           
 LogContainerCmd withTailAll()
           
 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, wait, wait, wait
 

Constructor Detail

LogContainerCmd

public LogContainerCmd(String containerId)
Method Detail

getContainerId

public String getContainerId()

getTail

public int getTail()

hasFollowStreamEnabled

public boolean hasFollowStreamEnabled()

hasTimestampsEnabled

public boolean hasTimestampsEnabled()

hasStdoutEnabled

public boolean hasStdoutEnabled()

hasStderrEnabled

public boolean hasStderrEnabled()

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)

withTailAll

public LogContainerCmd withTailAll()

withTail

public LogContainerCmd withTail(int tail)

toString

public String toString()
Overrides:
toString in class Object

impl

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


Copyright © 2014. All rights reserved.