com.github.dockerjava.api.command
Interface CopyFileFromContainerCmd

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

public interface CopyFileFromContainerCmd
extends DockerCmd<InputStream>


Nested Class Summary
static interface CopyFileFromContainerCmd.Exec
           
 
Method Summary
 InputStream exec()
           
 String getContainerId()
           
 String getHostPath()
           
 String getResource()
           
 CopyFileFromContainerCmd withContainerId(String containerId)
           
 CopyFileFromContainerCmd withHostPath(String hostPath)
           
 CopyFileFromContainerCmd withResource(String resource)
           
 

Method Detail

getContainerId

String getContainerId()

getResource

String getResource()

withContainerId

CopyFileFromContainerCmd withContainerId(String containerId)

withResource

CopyFileFromContainerCmd withResource(String resource)

getHostPath

String getHostPath()

withHostPath

CopyFileFromContainerCmd withHostPath(String hostPath)

exec

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


Copyright © 2014. All rights reserved.