Enum Class SortBy

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

public enum SortBy extends Enum<SortBy> implements WallOption
Tile ordering on the wall.

The orderings that key off status move tiles around as builds come and go, which is the point of them — the thing you need to look at rises to the top left. NAME is the one to pick when you would rather learn where each job lives and have it stay there.

  • Enum Constant Details

    • RUNNING

      public static final SortBy RUNNING
      Building now, then queued, then worst-first among the rest.
    • STATUS

      public static final SortBy STATUS
      Broken first, then unstable, aborted, never built and finally successful.
    • SUCCESS

      public static final SortBy SUCCESS
      Passing first, working down to the failures.
    • NAME

      public static final SortBy NAME
      Alphabetical. Tiles keep their position between refreshes.
    • RECENT

      public static final SortBy RECENT
      Most recently built first.
    • VIEW_ORDER

      public static final SortBy VIEW_ORDER
      Whatever order the underlying view produces.
  • Method Details

    • values

      public static SortBy[] 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 SortBy 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