Package jenkins.widgets
Enum Class BuildStatusFilter
- All Implemented Interfaces:
Serializable,Comparable<BuildStatusFilter>,Constable
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public enum BuildStatusFilter
extends Enum<BuildStatusFilter>
A status a build can be filtered by in the builds list's status filter panel. Each
entry's
Enum.name() is the value sent as the status query parameter and
understood by HistoryPageFilter.setStatuses(java.util.Set).
Display name and icon are sourced from Result/BallColor rather than
being redefined here, so the filter panel stays in sync with the labels and icons
already used for build status elsewhere (e.g. status icon tooltips). BUILDING
has no corresponding Result, since a build in progress hasn't produced one yet.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic List<BuildStatusFilter> all()Resolved lazily (rather than once at enum-init time) since it depends on the current request's locale.getIcon()getValue()static BuildStatusFilterReturns the enum constant of this class with the specified name.static BuildStatusFilter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILDING
-
SUCCESS
-
UNSTABLE
-
FAILURE
-
ABORTED
-
NOT_BUILT
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-
getDisplayName
Resolved lazily (rather than once at enum-init time) since it depends on the current request's locale. -
getIcon
-
all
-