Enum ListProofStatus
- java.lang.Object
- 
- java.lang.Enum<ListProofStatus>
- 
- com.exonum.binding.common.proofs.list.ListProofStatus
 
 
- 
- All Implemented Interfaces:
- ProofStatus,- Serializable,- Comparable<ListProofStatus>,- java.lang.constant.Constable
 
 public enum ListProofStatus extends Enum<ListProofStatus> implements ProofStatus Possible statuses of a checked list proof.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
 
- 
 - 
Enum Constant SummaryEnum Constants Enum Constant Description INVALID_ELEMENT_NODE_DEPTHINVALID_HASH_NODE_DEPTHINVALID_HASH_NODES_COUNTINVALID_NODE_DEPTHINVALID_TREE_NO_ELEMENTSVALID
 - 
Method SummaryModifier and Type Method Description StringgetDescription()Returns the description of the proof verification result.StringtoString()static ListProofStatusvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
VALIDpublic static final ListProofStatus VALID 
 - 
INVALID_ELEMENT_NODE_DEPTHpublic static final ListProofStatus INVALID_ELEMENT_NODE_DEPTH 
 - 
INVALID_HASH_NODE_DEPTHpublic static final ListProofStatus INVALID_HASH_NODE_DEPTH 
 - 
INVALID_TREE_NO_ELEMENTSpublic static final ListProofStatus INVALID_TREE_NO_ELEMENTS 
 - 
INVALID_NODE_DEPTHpublic static final ListProofStatus INVALID_NODE_DEPTH 
 - 
INVALID_HASH_NODES_COUNTpublic static final ListProofStatus INVALID_HASH_NODES_COUNT 
 
- 
 - 
Method Detail- 
valuespublic static ListProofStatus[] values() Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ListProofStatus valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getDescriptionpublic String getDescription() Description copied from interface:ProofStatusReturns the description of the proof verification result.- Specified by:
- getDescriptionin interface- ProofStatus
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<ListProofStatus>
 
 
- 
 
-