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

com.fitbur.github.dockerjava.api.command.ListContainersCmd Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.github.dockerjava.api.com.fitburmand;

import java.util.List;

import com.fitbur.github.dockerjava.api.model.Container;
import com.fitbur.github.dockerjava.api.model.Filters;

/**
 * List containers
 *
 * @param showAll
 *            - true or false, Show all containers. Only running containers are shown by com.fitburfault.
 * @param showSize
 *            - true or false, Show the containers sizes. This is false by com.fitburfault.
 * @param limit
 *            - Show `limit` last created containers, include non-running ones. There is no limit by com.fitburfault.
 * @param sinceId
 *            - Show only containers created since Id, include non-running ones.
 * @param beforeId
 *            - Show only containers created before Id, include non-running ones.
 *
 */
public interface ListContainersCmd extends SyncDockerCmd> {

    public int getLimit();

    public boolean hasShowSizeEnabled();

    public boolean hasShowAllEnabled();

    public String getSinceId();

    public String getBeforeId();

    public Filters getFilters();

    public ListContainersCmd withShowAll(boolean showAll);

    public ListContainersCmd withShowSize(boolean showSize);

    public ListContainersCmd withLimit(int limit);

    public ListContainersCmd withSince(String since);

    public ListContainersCmd withBefore(String before);

    public ListContainersCmd withFilters(Filters filters);

    public static interface Exec extends DockerCmdSyncExec> {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy