Enum Class ChecksumResult

java.lang.Object
java.lang.Enum<ChecksumResult>
enterprises.iwakura.amber.ChecksumResult
All Implemented Interfaces:
Serializable, Comparable<ChecksumResult>, Constable

public enum ChecksumResult extends Enum<ChecksumResult>
Represents the result of a checksum verification operation.
  • Enum Constant Details

    • MATCH

      public static final ChecksumResult MATCH
      The checksum matches the expected value.
    • MISMATCH

      public static final ChecksumResult MISMATCH
      The checksum does not match the expected value.
    • NOT_FOUND

      public static final ChecksumResult NOT_FOUND
      The checksum file was not found.
    • UNSUPPORTED

      public static final ChecksumResult UNSUPPORTED
      The checksum algorithm is unsupported by the JVM/system.
  • Method Details

    • values

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