public final class LayerId extends Object
algorithm: hash
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAlgorithm()
Return the algorithm of layer.
|
String |
getHash()
Return the hash of the layer.
|
int |
hashCode() |
static LayerId |
of(String value)
Create a new
LayerId with the specified value. |
static LayerId |
ofSha256Digest(byte[] digest)
Create a new
LayerId from a SHA-256 digest. |
String |
toString() |
public String getAlgorithm()
public String getHash()
public static LayerId of(String value)
LayerId
with the specified value.value
- the layer ID value of the form algorithm: hash