public static enum IdentityBlock.IdentityStatus extends Enum<IdentityBlock.IdentityStatus>
Enum Constant and Description |
---|
ESTABLISHED |
EXPIRED |
NEW |
PUZZLE_RECEIVED |
PUZZLE_REQUESTED |
PUZZLE_SENT |
Modifier and Type | Method and Description |
---|---|
int |
getStatusNumber() |
static IdentityBlock.IdentityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentityBlock.IdentityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityBlock.IdentityStatus NEW
public static final IdentityBlock.IdentityStatus PUZZLE_REQUESTED
public static final IdentityBlock.IdentityStatus PUZZLE_RECEIVED
public static final IdentityBlock.IdentityStatus PUZZLE_SENT
public static final IdentityBlock.IdentityStatus ESTABLISHED
public static final IdentityBlock.IdentityStatus EXPIRED
public static IdentityBlock.IdentityStatus[] values()
for (IdentityBlock.IdentityStatus c : IdentityBlock.IdentityStatus.values()) System.out.println(c);
public static IdentityBlock.IdentityStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getStatusNumber()
Copyright © 2023. All rights reserved.