Enum Class PrismTheme

java.lang.Object
java.lang.Enum<PrismTheme>
io.jenkins.plugins.prism.PrismTheme
All Implemented Interfaces:
Serializable, Comparable<PrismTheme>, Constable

public enum PrismTheme extends Enum<PrismTheme>
Defines the active theme to be used when rendering the source code with Prism.
Author:
Ullrich Hafner
  • Enum Constant Details

    • PRISM

      public static final PrismTheme PRISM
    • COY

      public static final PrismTheme COY
    • DARK

      public static final PrismTheme DARK
    • FUNKY

      public static final PrismTheme FUNKY
    • OKAIDIA

      public static final PrismTheme OKAIDIA
    • SOLARIZED_LIGHT

      public static final PrismTheme SOLARIZED_LIGHT
    • TOMORROW_NIGHT

      public static final PrismTheme TOMORROW_NIGHT
    • TWILIGHT

      public static final PrismTheme TWILIGHT
  • Method Details

    • values

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

      public static PrismTheme valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDisplayName

      public String getDisplayName()
    • getFileName

      public String getFileName()
    • getAllDisplayNames

      public static ListBoxModel getAllDisplayNames()
      Returns all available themes in a ListBoxModel.
      Returns:
      the themes as an model