public enum DashboardName extends Enum<DashboardName>
Enum Constant and Description |
---|
ADMINISTRATOR_DASHBOARD |
COMMON_DASHBOARD |
MANAGER_DASHBOARD |
MODELER_DASHBOARD |
USER_DASHBOARD |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<DashboardName> |
find(List<String> ids)
Finds a list with dashboard name instances which are given by the ids.
|
static DashboardName |
find(String id)
Finds a new dashboard name instance by the given id.
|
String |
getI18nKey() |
String |
getId() |
Set<com.edorasware.commons.core.entity.Type> |
getWorkItemTypes() |
boolean |
isVirtual() |
static DashboardName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DashboardName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardName USER_DASHBOARD
public static final DashboardName MODELER_DASHBOARD
public static final DashboardName MANAGER_DASHBOARD
public static final DashboardName ADMINISTRATOR_DASHBOARD
public static final DashboardName COMMON_DASHBOARD
public static DashboardName[] values()
for (DashboardName c : DashboardName.values()) System.out.println(c);
public static DashboardName 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 static DashboardName find(String id)
id
- the id of the dashboard name to createIllegalArgumentException
- if the id name is not knownpublic static com.google.common.collect.ImmutableList<DashboardName> find(List<String> ids)
ids
- the ids of the dashboards to createIllegalArgumentException
- if the id of an dashboard name is not knownpublic String getId()
public String getI18nKey()
public Set<com.edorasware.commons.core.entity.Type> getWorkItemTypes()
public boolean isVirtual()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.