com.rapid7.container.analyzer.docker.model.json.ContainerConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-image-analyzer Show documentation
Show all versions of docker-image-analyzer Show documentation
Extracts, parses, and analyzes Docker images into Java objects with JSON mappings.
/**
*
*/
package com.rapid7.container.analyzer.docker.model.json;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Arrays;
import java.util.StringJoiner;
public class ContainerConfig {
private String[] commands;
@JsonProperty("Cmd")
public String[] getCommands() {
return commands;
}
public ContainerConfig setCommands(String[] commands) {
this.commands = commands;
return this;
}
@Override
public String toString() {
return new StringJoiner(", ", ContainerConfig.class.getSimpleName() + "[", "]")
.add("Commands=" + Arrays.toString(commands))
.toString();
}
}