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

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

package com.github.dockerjava.api.command;

import com.github.dockerjava.api.model.Network;

import javax.annotation.CheckForNull;

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

/**
 * List networks.
 *
 * @since {@link RemoteApiVersion#VERSION_1_21}
 */
public interface ListNetworksCmd extends SyncDockerCmd> {

    @CheckForNull
    Map> getFilters();

    ListNetworksCmd withNameFilter(String... networkName);

    ListNetworksCmd withIdFilter(String... networkId);

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

    interface Exec extends DockerCmdSyncExec> {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy