public enum DashboardWidget extends java.lang.Enum<DashboardWidget>
| Enum Constant and Description |
|---|
CHARTS
Charts widget.
|
GAUGES
Gauges widget.
|
NONE
Empty widget.
|
PRODUCERS
Producers widget.
|
THRESHOLDS
Thresholds widget.
|
| Modifier and Type | Method and Description |
|---|---|
static DashboardWidget |
findWidgetByName(java.lang.String name)
Searches for widget with given name.
|
java.lang.String |
getJspPath() |
java.lang.String |
getName() |
java.lang.String |
toString() |
static DashboardWidget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DashboardWidget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardWidget NONE
public static final DashboardWidget THRESHOLDS
public static final DashboardWidget GAUGES
public static final DashboardWidget CHARTS
public static final DashboardWidget PRODUCERS
public static DashboardWidget[] values()
for (DashboardWidget c : DashboardWidget.values()) System.out.println(c);
public static DashboardWidget valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.String getJspPath()
public static DashboardWidget findWidgetByName(java.lang.String name)
name - Widget name to search forpublic java.lang.String toString()
toString in class java.lang.Enum<DashboardWidget>Copyright © 2010-2020 anotheria.net. All Rights Reserved.