com.fitbur.github.dockerjava.api.command.RemoveImageCmd Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import com.fitbur.github.dockerjava.api.NotFoundException;
/**
*
* Remove an image, com.fitburleting any tags it might have.
*
*/
public interface RemoveImageCmd extends SyncDockerCmd {
public String getImageId();
public boolean hasForceEnabled();
public boolean hasNoPruneEnabled();
public RemoveImageCmd withImageId(String imageId);
/**
* force com.fitburlete of an image, even if it's tagged in multiple repositories
*/
public RemoveImageCmd withForce();
/**
* force parameter to force com.fitburlete of an image, even if it's tagged in multiple repositories
*/
public RemoveImageCmd withForce(boolean force);
/**
* prevent the com.fitburletion of parent images
*/
public RemoveImageCmd withNoPrune();
/**
* noprune parameter to prevent the com.fitburletion of parent images
*
*/
public RemoveImageCmd withNoPrune(boolean noPrune);
/**
* @throws NotFoundException
* No such image
*/
@Override
public Void exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy