com.xebialabs.deployit.core.rest.api.reports.widgets
Enum WidgetRegistry
java.lang.Object
java.lang.Enum<WidgetRegistry>
com.xebialabs.deployit.core.rest.api.reports.widgets.WidgetRegistry
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WidgetRegistry>
public enum WidgetRegistry
- extends java.lang.Enum<WidgetRegistry>
|
Method Summary |
abstract Widget |
getWidget(com.xebialabs.deployit.task.TaskArchive taskArchive)
|
java.lang.String |
getWidgetType()
|
static WidgetRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WidgetRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DEPLOYMENTSUCCESS
public static final WidgetRegistry DEPLOYMENTSUCCESS
DEPLOYMENTDURATION
public static final WidgetRegistry DEPLOYMENTDURATION
DEPLOYMENTTREND
public static final WidgetRegistry DEPLOYMENTTREND
DEPLOYMENTTRENDPERCENTILE
public static final WidgetRegistry DEPLOYMENTTRENDPERCENTILE
TOP5SUCCESSFULDEPLOYMENTS
public static final WidgetRegistry TOP5SUCCESSFULDEPLOYMENTS
TOP5RETRIEDDEPLOYMENTS
public static final WidgetRegistry TOP5RETRIEDDEPLOYMENTS
TOP5LONGESTRUNNINGDEPLOYMENTS
public static final WidgetRegistry TOP5LONGESTRUNNINGDEPLOYMENTS
values
public static WidgetRegistry[] 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 (WidgetRegistry c : WidgetRegistry.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WidgetRegistry valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getWidgetType
public final java.lang.String getWidgetType()
getWidget
public abstract Widget getWidget(com.xebialabs.deployit.task.TaskArchive taskArchive)