com.rapid7.container.analyzer.docker.model.image.FileState 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;
public enum FileState {
ADDED,
REMOVED,
UPDATED,
UNKNOWN;
public static FileState fromString(String value) {
for (FileState type : values())
if (type.name().equalsIgnoreCase(value))
return type;
return UNKNOWN;
}
}