com.github.dockerjava.client.command
Class RemoveImageCmd

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

public class RemoveImageCmd
extends AbstrDockerCmd<RemoveImageCmd,Void>

Remove an image, deleting any tags it might have.


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
RemoveImageCmd(String imageId)
           
 
Method Summary
 String getImageId()
           
 boolean hasForceEnabled()
           
 boolean hasNoPruneEnabled()
           
protected  Void impl()
           
 String toString()
           
 RemoveImageCmd withForce()
           
 RemoveImageCmd withForce(boolean force)
           
 RemoveImageCmd withImageId(String imageId)
           
 RemoveImageCmd withNoPrune(boolean noPrune)
           
 
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

RemoveImageCmd

public RemoveImageCmd(String imageId)
Method Detail

getImageId

public String getImageId()

hasForceEnabled

public boolean hasForceEnabled()

hasNoPruneEnabled

public boolean hasNoPruneEnabled()

withImageId

public RemoveImageCmd withImageId(String imageId)

withForce

public RemoveImageCmd withForce()

withForce

public RemoveImageCmd withForce(boolean force)

withNoPrune

public RemoveImageCmd withNoPrune(boolean noPrune)

toString

public String toString()
Overrides:
toString in class Object

impl

protected Void impl()
             throws DockerException
Throws:
DockerException


Copyright © 2014. All rights reserved.