@ParametersAreNullableByDefault @Nullable public class RepositoryModel extends Object
This class is used by repositories to store artifacts for signing and verifying.
| Constructor and Description |
|---|
RepositoryModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Returns
true if and only if the given object is an instance of
RepositoryModel and it's encoded artifact, encoded signature and
signature algorithm compare equal, whereby the case of the signature
algorithm is ignored. |
String |
getAlgorithm()
Returns the signature algorithm.
|
String |
getArtifact()
Returns the encoded artifact.
|
String |
getSignature()
Returns the encoded signature.
|
int |
hashCode()
Returns a hash code which is consistent with
equals(java.lang.Object). |
void |
setAlgorithm(String signatureAlgorithm)
Sets the signature algorithm.
|
void |
setArtifact(String encodedArtifact)
Sets the encoded artifact.
|
void |
setSignature(String encodedSignature)
Sets the encoded signature.
|
public boolean equals(Object obj)
true if and only if the given object is an instance of
RepositoryModel and it's encoded artifact, encoded signature and
signature algorithm compare equal, whereby the case of the signature
algorithm is ignored.public final String getAlgorithm()
public final String getArtifact()
public final String getSignature()
public int hashCode()
equals(java.lang.Object).public final void setAlgorithm(String signatureAlgorithm)
public final void setArtifact(String encodedArtifact)
public void setSignature(String encodedSignature)
Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.