com.rapid7.container.analyzer.docker.model.image.LayerFile 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.image;
import static java.util.Objects.requireNonNull;
public class LayerFile {
private FileState state;
private File file;
public LayerFile(File file, FileState state) {
this.state = state;
this.file = file;
}
public FileState getState() {
return state;
}
public File getFile() {
return file;
}
public void setState(FileState state) {
this.state = requireNonNull(state);
}
}