ListTasksCmd.java from docker-java/docker-java
// Source: https://github.com/docker-java/docker-java | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.exception.NotFoundException;
import com.github.dockerjava.api.model.Task;
import com.github.dockerjava.api.model.TaskState;
import javax.annotation.CheckForNull;
import java.util.List;
import java.util.Map;
public interface ListTasksCmd extends SyncDockerCmd<List<Task>> {
@CheckForNull
Map<String, List<String>> getFilters();
/**
* @param labels - Show only tasks with the passed labels.
* Labels is a {@link Map} that contains label keys and values
*/
ListTask
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key