Enum WidgetRegistry

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<WidgetRegistry>

    public enum WidgetRegistry
    extends java.lang.Enum<WidgetRegistry>
    • Enum Constant Detail

      • DEPLOYMENTSUCCESS

        public static final WidgetRegistry DEPLOYMENTSUCCESS
      • DEPLOYMENTDURATION

        public static final WidgetRegistry DEPLOYMENTDURATION
      • 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 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.archive.TaskArchive taskArchive)