Enum IconFormat

java.lang.Object
java.lang.Enum<IconFormat>
org.jenkins.ui.icon.IconFormat
All Implemented Interfaces:
Serializable, Comparable<IconFormat>

public enum IconFormat extends Enum<IconFormat>
Format for the icon.
Since:
2.283
  • Enum Constant Details

    • IMG

      public static final IconFormat IMG
    • EXTERNAL_SVG_SPRITE

      public static final IconFormat EXTERNAL_SVG_SPRITE
  • Method Details

    • values

      public static IconFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IconFormat valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null