Enum PaymentBaseDashboardMenu
- java.lang.Object
-
- java.lang.Enum<PaymentBaseDashboardMenu>
-
- io.surati.gap.payment.base.module.PaymentBaseDashboardMenu
-
- All Implemented Interfaces:
io.surati.gap.web.base.menu.DashboardMenu
,Serializable
,Comparable<PaymentBaseDashboardMenu>
public enum PaymentBaseDashboardMenu extends Enum<PaymentBaseDashboardMenu> implements io.surati.gap.web.base.menu.DashboardMenu
Payment base dashboard menu.- Since:
- 0.3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends io.surati.gap.admin.base.api.Access>
accesses()
String
code()
String
link()
int
order()
String
title()
static PaymentBaseDashboardMenu
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaymentBaseDashboardMenu[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static PaymentBaseDashboardMenu[] 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 (PaymentBaseDashboardMenu c : PaymentBaseDashboardMenu.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentBaseDashboardMenu 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
-
order
public int order()
- Specified by:
order
in interfaceio.surati.gap.web.base.menu.DashboardMenu
-
code
public String code()
- Specified by:
code
in interfaceio.surati.gap.web.base.menu.DashboardMenu
-
title
public String title()
- Specified by:
title
in interfaceio.surati.gap.web.base.menu.DashboardMenu
-
link
public String link()
- Specified by:
link
in interfaceio.surati.gap.web.base.menu.DashboardMenu
-
accesses
public Iterable<? extends io.surati.gap.admin.base.api.Access> accesses()
- Specified by:
accesses
in interfaceio.surati.gap.web.base.menu.DashboardMenu
-
-