Package io.surati.gap.payment.module
Enum PaymentDashboardMenu
- java.lang.Object
-
- java.lang.Enum<PaymentDashboardMenu>
-
- io.surati.gap.payment.module.PaymentDashboardMenu
-
- All Implemented Interfaces:
io.surati.gap.web.base.menu.DashboardMenu
,Serializable
,Comparable<PaymentDashboardMenu>
public enum PaymentDashboardMenu extends Enum<PaymentDashboardMenu> implements io.surati.gap.web.base.menu.DashboardMenu
Gtp base dashboard menu.- Since:
- 0.1
-
-
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 PaymentDashboardMenu
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaymentDashboardMenu[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static PaymentDashboardMenu[] 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 (PaymentDashboardMenu c : PaymentDashboardMenu.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentDashboardMenu 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
-
-