Enum Class StatusScope

java.lang.Object
java.lang.Enum<StatusScope>
io.jenkins.plugins.livewall.StatusScope
All Implemented Interfaces:
WallOption, Serializable, Comparable<StatusScope>, Constable

public enum StatusScope extends Enum<StatusScope> implements WallOption
Which jobs earn a tile.

On a busy controller a wall of five hundred green tiles says nothing. Narrowing the scope turns the same view into an alert board without needing a second view.

  • Enum Constant Details

    • ALL

      public static final StatusScope ALL
      Every job in the view.
    • PROBLEMS

      public static final StatusScope PROBLEMS
      Only failing, unstable or aborted jobs — an empty wall means everything is fine.
    • PROBLEMS_AND_RUNNING

      public static final StatusScope PROBLEMS_AND_RUNNING
      Problems plus anything building right now.
  • Method Details

    • values

      public static StatusScope[] 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 StatusScope 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
    • getId

      @NonNull public String getId()
      Description copied from interface: WallOption
      Stable, lowercase, kebab-case id. Persisted in config.xml and emitted into the markup.
      Specified by:
      getId in interface WallOption
    • getDisplayName

      @NonNull public String getDisplayName()
      Description copied from interface: WallOption
      Label shown in the view configuration form, where there is room to explain the choice.
      Specified by:
      getDisplayName in interface WallOption