com.github.dockerjava.core.command.InspectExecCmdImpl 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 com.github.dockerjava.api.command.InspectExecCmd;
import com.github.dockerjava.api.command.InspectExecResponse;
import com.github.dockerjava.api.exception.NotFoundException;
import com.google.common.base.Preconditions;
public class InspectExecCmdImpl extends AbstrDockerCmd implements InspectExecCmd {
private String execId;
public InspectExecCmdImpl(InspectExecCmd.Exec execution, String execId) {
super(execution);
withExecId(execId);
}
@Override
public String getExecId() {
return execId;
}
@Override
public InspectExecCmd withExecId(String execId) {
Preconditions.checkNotNull(execId, "execId was not specified");
this.execId = execId;
return this;
}
/**
* @throws NotFoundException
* No such exec
*/
@Override
public InspectExecResponse exec() throws NotFoundException {
return super.exec();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy