com.github.dockerjava.api.command
Interface AttachContainerCmd

All Superinterfaces:
DockerCmd<InputStream>
All Known Implementing Classes:
AttachContainerCmdImpl

public interface AttachContainerCmd
extends DockerCmd<InputStream>

Attach to container


Nested Class Summary
static interface AttachContainerCmd.Exec
           
 
Method Summary
 InputStream exec()
           
 String getContainerId()
           
 boolean hasFollowStreamEnabled()
           
 boolean hasLogsEnabled()
           
 boolean hasStderrEnabled()
           
 boolean hasStdoutEnabled()
           
 boolean hasTimestampsEnabled()
           
 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)
           
 

Method Detail

getContainerId

String getContainerId()

hasLogsEnabled

boolean hasLogsEnabled()

hasFollowStreamEnabled

boolean hasFollowStreamEnabled()

hasTimestampsEnabled

boolean hasTimestampsEnabled()

hasStdoutEnabled

boolean hasStdoutEnabled()

hasStderrEnabled

boolean hasStderrEnabled()

withContainerId

AttachContainerCmd withContainerId(String containerId)

withFollowStream

AttachContainerCmd withFollowStream()

withFollowStream

AttachContainerCmd withFollowStream(boolean followStream)

withTimestamps

AttachContainerCmd withTimestamps(boolean timestamps)

withStdOut

AttachContainerCmd withStdOut()

withStdOut

AttachContainerCmd withStdOut(boolean stdout)

withStdErr

AttachContainerCmd withStdErr()

withStdErr

AttachContainerCmd withStdErr(boolean stderr)

withLogs

AttachContainerCmd withLogs(boolean logs)

exec

InputStream exec()
                 throws NotFoundException
Specified by:
exec in interface DockerCmd<InputStream>
Throws:
NotFoundException - No such container


Copyright © 2014. All rights reserved.