public static final class MetadataImpl.ResourceMetadataImpl extends MetadataImpl implements ResourceMetadata
MetadataImpl.DomainMetadataImpl, MetadataImpl.FolderMetadataImpl, MetadataImpl.ProjectMetadataImpl, MetadataImpl.ResourceMetadataImpl
Constructor and Description |
---|
ResourceMetadataImpl(Metadata md, Diagnostic.Severity severity, java.util.Set<Ref> dependentrefs) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns a list of indexed attributes for this resource.
|
java.util.Set<Ref> |
getDependencyRefs()
Returns references to resources which this resource depends on
|
java.util.Set<Ref> |
getDependentRefs()
Returns references to resources which depend on this resource
|
Diagnostic.Severity |
getDiagnosticSeverity()
Returns the status of this resource with respect to validation.
|
Digest |
getDigest()
Returns the digest information for this resource
|
boolean |
hasSensitiveInformation()
Returns whether this resource has sensitive information such as passwords
|
void |
removeInternalData(Sanitizer s) |
void |
retainAttributes(java.util.Collection<java.lang.String> keep) |
about, getDependencies, getDependents, getThisRef
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencies, getDependents, getThisRef
public ResourceMetadataImpl(Metadata md, Diagnostic.Severity severity, java.util.Set<Ref> dependentrefs)
public void retainAttributes(java.util.Collection<java.lang.String> keep)
public Diagnostic.Severity getDiagnosticSeverity()
ResourceMetadata
getDiagnosticSeverity
in interface ResourceMetadata
public void removeInternalData(Sanitizer s)
removeInternalData
in interface InternalDataContainer
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
ResourceMetadata
getAttributes
in interface ResourceMetadata
public boolean hasSensitiveInformation()
ResourceMetadata
hasSensitiveInformation
in interface ResourceMetadata
public java.util.Set<Ref> getDependencyRefs()
ResourceMetadata
getDependencyRefs
in interface ResourceMetadata
public java.util.Set<Ref> getDependentRefs()
ResourceMetadata
getDependentRefs
in interface ResourceMetadata
public Digest getDigest()
ResourceMetadata
getDigest
in interface ResourceMetadata