public enum TransactionStatus extends Enum<TransactionStatus>
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
static TransactionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionStatus Idle
public static final TransactionStatus Active
public static final TransactionStatus Failed
public static TransactionStatus[] values()
for (TransactionStatus c : TransactionStatus.values()) System.out.println(c);
public static TransactionStatus 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 byte getCode()
Copyright © 2013–2017 impossibl.com. All rights reserved.