public enum Route extends Enum<Route>
| Enum Constant and Description |
|---|
BILLS |
CONTACTS |
DASHBOARD |
EXPENSES |
INVOICES |
LOGOUT |
MY_ACCOUNT |
ORDERS |
PRODUCTS |
PURCHASES |
SETTINGS |
TRANSACTIONS |
| Modifier and Type | Method and Description |
|---|---|
Integer |
navBarOrder() |
String |
path() |
String |
url() |
static Route |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Route[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route DASHBOARD
public static final Route MY_ACCOUNT
public static final Route SETTINGS
public static final Route INVOICES
public static final Route ORDERS
public static final Route PRODUCTS
public static final Route CONTACTS
public static final Route PURCHASES
public static final Route BILLS
public static final Route EXPENSES
public static final Route TRANSACTIONS
public static final Route LOGOUT
public static Route[] values()
for (Route c : Route.values()) System.out.println(c);
public static Route 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 String url()
public String path()
public Integer navBarOrder()
Copyright © 2023. All rights reserved.