com.github.dockerjava.core.command.SearchImagesCmdImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.github.dockerjava.core.command;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import com.github.dockerjava.api.command.SearchImagesCmd;
import com.github.dockerjava.api.model.SearchItem;
/**
* Search images
*
* @param term
* - search term
*
*/
public class SearchImagesCmdImpl extends AbstrDockerCmd> implements SearchImagesCmd {
private String term;
public SearchImagesCmdImpl(SearchImagesCmd.Exec exec, String term) {
super(exec);
withTerm(term);
}
@Override
public String getTerm() {
return term;
}
@Override
public SearchImagesCmd withTerm(String term) {
checkNotNull(term, "term was not specified");
this.term = term;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy