Enum FrontendDashboardAccounts
- java.lang.Object
-
- java.lang.Enum<FrontendDashboardAccounts>
-
- org.cyclos.model.system.configurations.FrontendDashboardAccounts
-
- All Implemented Interfaces:
Serializable,Comparable<FrontendDashboardAccounts>,HasMessageKey
public enum FrontendDashboardAccounts extends Enum<FrontendDashboardAccounts> implements HasMessageKey
The possible ways to show accounts in the new frontend dashboard
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDIVIDUALShow an account per cardMERGEDShow multiple accounts merged in the same cardNONEDon't show account status in the dashboard
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static FrontendDashboardAccountsvalueOf(String name)Returns the enum constant of this type with the specified name.static FrontendDashboardAccounts[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FrontendDashboardAccounts NONE
Don't show account status in the dashboard
-
INDIVIDUAL
public static final FrontendDashboardAccounts INDIVIDUAL
Show an account per card
-
MERGED
public static final FrontendDashboardAccounts MERGED
Show multiple accounts merged in the same card
-
-
Method Detail
-
values
public static FrontendDashboardAccounts[] 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 (FrontendDashboardAccounts c : FrontendDashboardAccounts.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrontendDashboardAccounts 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
-