com.github.dockerjava.core.command
Class UnpauseContainerCmdImpl

java.lang.Object
  extended by com.github.dockerjava.core.command.AbstrDockerCmd<UnpauseContainerCmd,Void>
      extended by com.github.dockerjava.core.command.UnpauseContainerCmdImpl
All Implemented Interfaces:
DockerCmd<Void>, UnpauseContainerCmd

public class UnpauseContainerCmdImpl
extends AbstrDockerCmd<UnpauseContainerCmd,Void>
implements UnpauseContainerCmd

Unpause a container.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.github.dockerjava.api.command.UnpauseContainerCmd
UnpauseContainerCmd.Exec
 
Field Summary
 
Fields inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
execution
 
Constructor Summary
UnpauseContainerCmdImpl(UnpauseContainerCmd.Exec exec, String containerId)
           
 
Method Summary
 Void exec()
           
 String getContainerId()
           
 String toString()
           
 UnpauseContainerCmd withContainerId(String containerId)
           
 
Methods inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
toDockerException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnpauseContainerCmdImpl

public UnpauseContainerCmdImpl(UnpauseContainerCmd.Exec exec,
                               String containerId)
Method Detail

getContainerId

public String getContainerId()
Specified by:
getContainerId in interface UnpauseContainerCmd

withContainerId

public UnpauseContainerCmd withContainerId(String containerId)
Specified by:
withContainerId in interface UnpauseContainerCmd

toString

public String toString()
Overrides:
toString in class Object

exec

public Void exec()
          throws NotFoundException
Specified by:
exec in interface DockerCmd<Void>
Specified by:
exec in interface UnpauseContainerCmd
Overrides:
exec in class AbstrDockerCmd<UnpauseContainerCmd,Void>
Throws:
NotFoundException - No such container


Copyright © 2014. All rights reserved.