Package io.vertigo.audit.ledger
Enum LedgerTransactionPriorityEnum
- java.lang.Object
-
- java.lang.Enum<LedgerTransactionPriorityEnum>
-
- io.vertigo.audit.ledger.LedgerTransactionPriorityEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<LedgerTransactionPriorityEnum>
public enum LedgerTransactionPriorityEnum extends Enum<LedgerTransactionPriorityEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPermille()
static LedgerTransactionPriorityEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static LedgerTransactionPriorityEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERYSLOW
public static final LedgerTransactionPriorityEnum VERYSLOW
-
SLOW
public static final LedgerTransactionPriorityEnum SLOW
-
MEDIUM
public static final LedgerTransactionPriorityEnum MEDIUM
-
FAST
public static final LedgerTransactionPriorityEnum FAST
-
VERYFAST
public static final LedgerTransactionPriorityEnum VERYFAST
-
-
Method Detail
-
values
public static LedgerTransactionPriorityEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LedgerTransactionPriorityEnum c : LedgerTransactionPriorityEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LedgerTransactionPriorityEnum 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 nameNullPointerException
- if the argument is null
-
getPermille
public int getPermille()
- Returns:
- the percentage
-
-