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, getThisRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencies, getDependents, getThisRefpublic 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()
ResourceMetadatagetDiagnosticSeverity in interface ResourceMetadatapublic void removeInternalData(Sanitizer s)
removeInternalData in interface InternalDataContainerpublic java.util.Map<java.lang.String,java.lang.Object> getAttributes()
ResourceMetadatagetAttributes in interface ResourceMetadatapublic boolean hasSensitiveInformation()
ResourceMetadatahasSensitiveInformation in interface ResourceMetadatapublic java.util.Set<Ref> getDependencyRefs()
ResourceMetadatagetDependencyRefs in interface ResourceMetadatapublic java.util.Set<Ref> getDependentRefs()
ResourceMetadatagetDependentRefs in interface ResourceMetadatapublic Digest getDigest()
ResourceMetadatagetDigest in interface ResourceMetadata