public class PruneCmdImpl extends AbstrDockerCmd<PruneCmd,PruneResponse> implements PruneCmd
PruneCmd.Execexecution| Constructor and Description |
|---|
PruneCmdImpl(PruneCmd.Exec exec,
PruneType pruneType) |
| Modifier and Type | Method and Description |
|---|---|
PruneResponse |
exec() |
String |
getApiPath() |
Map<String,List<String>> |
getFilters() |
PruneType |
getPruneType() |
PruneCmd |
withDangling(Boolean dangling) |
PruneCmd |
withLabelFilter(String... labels) |
PruneCmd |
withPruneType(PruneType pruneType) |
PruneCmd |
withUntilFilter(String until) |
close, registryAuth, toStringpublic PruneCmdImpl(PruneCmd.Exec exec, PruneType pruneType)
@Nonnull public PruneType getPruneType()
getPruneType in interface PruneCmd@Nonnull public String getApiPath()
getApiPath in interface PruneCmd@CheckForNull public Map<String,List<String>> getFilters()
getFilters in interface PruneCmdpublic PruneCmd withPruneType(PruneType pruneType)
withPruneType in interface PruneCmdpublic PruneCmd withDangling(Boolean dangling)
withDangling in interface PruneCmdpublic PruneCmd withUntilFilter(String until)
withUntilFilter in interface PruneCmdpublic PruneCmd withLabelFilter(String... labels)
withLabelFilter in interface PruneCmdpublic PruneResponse exec()
exec in interface PruneCmdexec in interface SyncDockerCmd<PruneResponse>exec in class AbstrDockerCmd<PruneCmd,PruneResponse>Copyright © 2025. All rights reserved.