com.github.dockerjava.client.command
Class AttachContainerCmd

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

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

Attach to container


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
AttachContainerCmd(String containerId)
           
 
Method Summary
protected  com.sun.jersey.api.client.ClientResponse impl()
           
 AttachContainerCmd withContainerId(String containerId)
           
 AttachContainerCmd withFollowStream()
           
 AttachContainerCmd withFollowStream(boolean followStream)
           
 AttachContainerCmd withLogs(boolean logs)
           
 AttachContainerCmd withStdErr()
           
 AttachContainerCmd withStdErr(boolean stderr)
           
 AttachContainerCmd withStdOut()
           
 AttachContainerCmd withStdOut(boolean stdout)
           
 AttachContainerCmd 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

AttachContainerCmd

public AttachContainerCmd(String containerId)
Method Detail

withContainerId

public AttachContainerCmd withContainerId(String containerId)

withFollowStream

public AttachContainerCmd withFollowStream()

withFollowStream

public AttachContainerCmd withFollowStream(boolean followStream)

withTimestamps

public AttachContainerCmd withTimestamps(boolean timestamps)

withStdOut

public AttachContainerCmd withStdOut()

withStdOut

public AttachContainerCmd withStdOut(boolean stdout)

withStdErr

public AttachContainerCmd withStdErr()

withStdErr

public AttachContainerCmd withStdErr(boolean stderr)

withLogs

public AttachContainerCmd withLogs(boolean logs)

impl

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


Copyright © 2014. All rights reserved.