Enum Class SealVerificationLevel
java.lang.Object
java.lang.Enum<SealVerificationLevel>
org.odpi.openmetadata.adapters.connectors.surveyaction.seal.SealVerificationLevel
- All Implemented Interfaces:
Serializable,Comparable<SealVerificationLevel>,Constable
SealVerificationLevel describes how thoroughly sealed content is compared with its manifest.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe names and sizes of the members are compared with the manifest, and the content of each member is hashed and compared with the hash in the manifest.The sealed content is not verified.The names, sizes and last modified times of the members are compared with the manifest. -
Method Summary
Modifier and TypeMethodDescriptionstatic SealVerificationLevelfromRequestParameter(String value) Return the level that a request parameter value asks for.static SealVerificationLevelReturns the enum constant of this class with the specified name.static SealVerificationLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
The sealed content is not verified. -
QUICK
The names, sizes and last modified times of the members are compared with the manifest. No file is opened. -
FULL
The names and sizes of the members are compared with the manifest, and the content of each member is hashed and compared with the hash in the manifest.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromRequestParameter
Return the level that a request parameter value asks for.- Parameters:
value- value of the request parameter (may be null)- Returns:
- level - QUICK if the value is null, blank or not recognized
-