public enum ListProofStatus extends java.lang.Enum<ListProofStatus> implements ProofStatus
Enum Constant and Description |
---|
INVALID_ELEMENT_NODE_DEPTH |
INVALID_HASH_NODE_DEPTH |
INVALID_HASH_NODES_COUNT |
INVALID_NODE_DEPTH |
INVALID_TREE_NO_ELEMENTS |
VALID |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description of the proof verification result.
|
java.lang.String |
toString() |
static ListProofStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListProofStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListProofStatus VALID
public static final ListProofStatus INVALID_ELEMENT_NODE_DEPTH
public static final ListProofStatus INVALID_HASH_NODE_DEPTH
public static final ListProofStatus INVALID_TREE_NO_ELEMENTS
public static final ListProofStatus INVALID_NODE_DEPTH
public static final ListProofStatus INVALID_HASH_NODES_COUNT
public static ListProofStatus[] values()
for (ListProofStatus c : ListProofStatus.values()) System.out.println(c);
public static ListProofStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDescription()
ProofStatus
getDescription
in interface ProofStatus
public java.lang.String toString()
toString
in class java.lang.Enum<ListProofStatus>
Copyright © 2018 Exonum. All rights reserved.