Enum JobFiltersArea.StatusFilter
- java.lang.Object
-
- java.lang.Enum<JobFiltersArea.StatusFilter>
-
- org.jenkinsci.test.acceptance.plugins.dashboard_view.controls.JobFiltersArea.StatusFilter
-
- All Implemented Interfaces:
Serializable
,Comparable<JobFiltersArea.StatusFilter>
- Enclosing class:
- JobFiltersArea
public static enum JobFiltersArea.StatusFilter extends Enum<JobFiltersArea.StatusFilter>
Provides a collection of all possible filter types.- Author:
- peter-mueller
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaption()
Get the caption of this filter option.static JobFiltersArea.StatusFilter
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobFiltersArea.StatusFilter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final JobFiltersArea.StatusFilter ENABLED
Only show enabled jobs.
-
DISABLED
public static final JobFiltersArea.StatusFilter DISABLED
Obly show disabled jobs.
-
-
Method Detail
-
values
public static JobFiltersArea.StatusFilter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JobFiltersArea.StatusFilter c : JobFiltersArea.StatusFilter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobFiltersArea.StatusFilter 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 nameNullPointerException
- if the argument is null
-
getCaption
public String getCaption()
Get the caption of this filter option.- Returns:
- the caption text
-
-