com.fitbur.github.dockerjava.api.command.InspectExecResponse Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import java.util.List;
import com.fitbur.apache.com.fitburmons.lang.builder.ToStringBuilder;
import com.fitbur.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fitbur.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class InspectExecResponse {
@JsonProperty("ID")
private String id;
@JsonProperty("OpenStdin")
private boolean openStdin;
@JsonProperty("OpenStderr")
private boolean openStderr;
@JsonProperty("OpenStdout")
private boolean openStdout;
@JsonProperty("Running")
private boolean running;
@JsonProperty("ExitCode")
private int exitCode;
public String getId() {
return id;
}
public boolean isOpenStdin() {
return openStdin;
}
public boolean isOpenStderr() {
return openStderr;
}
public boolean isOpenStdout() {
return openStdout;
}
public boolean isRunning() {
return running;
}
public int getExitCode() {
return exitCode;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProcessConfig {
@JsonProperty("arguments")
private List arguments;
@JsonProperty("entrypoint")
private String entryPoint;
@JsonProperty("privileged")
private boolean privileged;
@JsonProperty("tty")
private boolean tty;
@JsonProperty("user")
private String user;
public List getArguments() {
return arguments;
}
public String getEntryPoint() {
return entryPoint;
}
public boolean isPrivileged() {
return privileged;
}
public boolean isTty() {
return tty;
}
public String getUser() {
return user;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy