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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYMENTDURATIONDEPLOYMENTSUCCESSDEPLOYMENTTRENDDEPLOYMENTTRENDPERCENTILETOP10LONGESTRUNNINGDEPLOYMENTSTOP10RETRIEDDEPLOYMENTSTOP10SUCCESSFULDEPLOYMENTS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract WidgetgetWidget(com.xebialabs.deployit.task.archive.TaskArchive taskArchive)java.lang.StringgetWidgetType()static WidgetRegistryvalueOf(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.
-
-
-
Enum Constant Detail
-
DEPLOYMENTSUCCESS
public static final WidgetRegistry DEPLOYMENTSUCCESS
-
DEPLOYMENTDURATION
public static final WidgetRegistry DEPLOYMENTDURATION
-
DEPLOYMENTTREND
public static final WidgetRegistry DEPLOYMENTTREND
-
DEPLOYMENTTRENDPERCENTILE
public static final WidgetRegistry DEPLOYMENTTRENDPERCENTILE
-
TOP10SUCCESSFULDEPLOYMENTS
public static final WidgetRegistry TOP10SUCCESSFULDEPLOYMENTS
-
TOP10RETRIEDDEPLOYMENTS
public static final WidgetRegistry TOP10RETRIEDDEPLOYMENTS
-
TOP10LONGESTRUNNINGDEPLOYMENTS
public static final WidgetRegistry TOP10LONGESTRUNNINGDEPLOYMENTS
-
-
Method Detail
-
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 namejava.lang.NullPointerException- if the argument is null
-
getWidgetType
public final java.lang.String getWidgetType()
-
getWidget
public abstract Widget getWidget(com.xebialabs.deployit.task.archive.TaskArchive taskArchive)
-
-