final class PolicyReferenceData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.net.URISyntaxException |
CLASS_INITIALIZATION_EXCEPTION |
private static java.net.URI |
DEFAULT_DIGEST_ALGORITHM_URI |
private java.lang.String |
digest |
private java.net.URI |
digestAlgorithmUri |
private static PolicyLogger |
LOGGER |
private java.net.URI |
referencedModelUri |
| Constructor and Description |
|---|
PolicyReferenceData(java.net.URI referencedModelUri)
Creates a new instance of PolicyReferenceData
|
PolicyReferenceData(java.net.URI referencedModelUri,
java.lang.String expectedDigest,
java.net.URI usedDigestAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDigest() |
java.net.URI |
getDigestAlgorithmUri() |
java.net.URI |
getReferencedModelUri() |
java.lang.String |
toString()
An
Object.toString() method override. |
java.lang.StringBuffer |
toString(int indentLevel,
java.lang.StringBuffer buffer)
A helper method that appends indented string representation of this instance to the input string buffer.
|
private static final PolicyLogger LOGGER
private static final java.net.URI DEFAULT_DIGEST_ALGORITHM_URI
private static final java.net.URISyntaxException CLASS_INITIALIZATION_EXCEPTION
private final java.net.URI referencedModelUri
private final java.lang.String digest
private final java.net.URI digestAlgorithmUri
public PolicyReferenceData(java.net.URI referencedModelUri)
public PolicyReferenceData(java.net.URI referencedModelUri,
java.lang.String expectedDigest,
java.net.URI usedDigestAlgorithm)
public java.net.URI getReferencedModelUri()
public java.lang.String getDigest()
public java.net.URI getDigestAlgorithmUri()
public java.lang.String toString()
Object.toString() method override.toString in class java.lang.Objectpublic java.lang.StringBuffer toString(int indentLevel,
java.lang.StringBuffer buffer)
indentLevel - indentation level to be used.buffer - buffer to be used for appending string representation of this instance