com.rapid7.container.analyzer.docker.model.image.ImageId 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 com.rapid7.container.analyzer.docker.model.HashId;
import com.rapid7.container.analyzer.docker.model.HashType;
public class ImageId extends HashId {
public ImageId(String id, HashType type) {
super(id, type);
}
public ImageId(String idStr) {
super(idStr);
}
@Override
public boolean equals(Object obj) {
if (obj == this)
return true;
else if (!(obj instanceof ImageId))
return false;
else
return super.equals(obj);
}
}