All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.command.ListVolumesCmd Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.github.dockerjava.api.command;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import javax.annotation.CheckForNull;

/**
 * List volumes.
 *
 * @author Marcus Linke
 */
public interface ListVolumesCmd extends SyncDockerCmd {

    @CheckForNull
    Map> getFilters();

    /**
     * @param dangling
     *            - Show dangling volumes filter
     */
    ListVolumesCmd withDanglingFilter(Boolean dangling);

    /**
     * @param filterName
     * @param filterValues
     *            - Show only volumes where the filter matches the given values
     */
    ListVolumesCmd withFilter(String filterName, Collection filterValues);

    interface Exec extends DockerCmdSyncExec {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy