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

public enum SealVerificationLevel extends Enum<SealVerificationLevel>
SealVerificationLevel describes how thoroughly sealed content is compared with its manifest.
  • Enum Constant Details

    • NONE

      public static final SealVerificationLevel NONE
      The sealed content is not verified.
    • QUICK

      public static final SealVerificationLevel QUICK
      The names, sizes and last modified times of the members are compared with the manifest. No file is opened.
    • FULL

      public static final SealVerificationLevel 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

      public static SealVerificationLevel[] 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

      public static SealVerificationLevel valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromRequestParameter

      public static SealVerificationLevel fromRequestParameter(String value)
      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