Class HistoryEntry
- java.lang.Object
-
- com.google.cloud.tools.jib.image.json.HistoryEntry
-
- All Implemented Interfaces:
JsonTemplate
public class HistoryEntry extends java.lang.Object implements JsonTemplate
Represents an item in the container configuration'shistory
list.- See Also:
- OCI
image spec (
history
field)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistoryEntry.Builder
-
Constructor Summary
Constructors Constructor Description HistoryEntry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HistoryEntry.Builder
builder()
Creates a builder for aHistoryEntry
.boolean
equals(java.lang.Object other)
boolean
hasCorrespondingLayer()
Returns whether or not the history object corresponds to a layer in the container.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static HistoryEntry.Builder builder()
Creates a builder for aHistoryEntry
.- Returns:
- the builder
-
hasCorrespondingLayer
public boolean hasCorrespondingLayer()
Returns whether or not the history object corresponds to a layer in the container.- Returns:
true
if the history object corresponds to a layer in the container
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-