Class SealVerification
java.lang.Object
org.odpi.openmetadata.adapters.connectors.surveyaction.seal.SealVerification
SealVerification is the result of comparing sealed content with its manifest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the files in the sealed directory that are not in the manifest.Return the members whose size, last modified time (quick verification) or content (full verification) is different from the manifest.longReturn the number of members in the manifest that were looked for.getLevel()Return how thorough the verification was.Return why the manifest could not be used (null if it could).Return the members in the manifest that can not be found.Return the status that this verification gives the seal.Return the members that could not be read, and so could not be hashed.booleanisBroken()Return whether the verification found evidence that the sealed content is not as it was sealed.booleanReturn whether the manifest is different from when the content was sealed.
-
Constructor Details
-
SealVerification
Constructor.- Parameters:
level- how thorough the verification is
-
-
Method Details
-
getLevel
Return how thorough the verification was.- Returns:
- level
-
getChangedMembers
Return the members whose size, last modified time (quick verification) or content (full verification) is different from the manifest.- Returns:
- relative paths
-
getMissingMembers
Return the members in the manifest that can not be found.- Returns:
- relative paths
-
getAddedMembers
Return the files in the sealed directory that are not in the manifest.- Returns:
- relative paths
-
getUnreadableMembers
Return the members that could not be read, and so could not be hashed.- Returns:
- relative paths
-
getCheckedCount
public long getCheckedCount()Return the number of members in the manifest that were looked for.- Returns:
- count
-
getManifestProblem
Return why the manifest could not be used (null if it could).- Returns:
- description or null
-
isManifestAltered
public boolean isManifestAltered()Return whether the manifest is different from when the content was sealed.- Returns:
- boolean
-
getStatus
Return the status that this verification gives the seal. Missing members are reported in preference to changed members, since nothing more can be said about a member that is not there.- Returns:
- status
-
isBroken
public boolean isBroken()Return whether the verification found evidence that the sealed content is not as it was sealed.- Returns:
- boolean
-