Package jenkins.model.details
Enum Class Detail.Verbosity
- All Implemented Interfaces:
Serializable,Comparable<Detail.Verbosity>,Constable
- Enclosing class:
Detail
Where a
Detail should be shown.- Since:
- TODO
-
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 TypeMethodDescriptionbooleanisVisibleIn(Detail.Verbosity context) static Detail.VerbosityReturns the enum constant of this class with the specified name.static Detail.Verbosity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPACT
Only shown in condensed views, such as rows in the build history. -
FULL
Only shown in full views, such as the overview page of a run. -
BOTH
Shown in both compact and full views.
-
-
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
-
isVisibleIn
- Parameters:
context- the view the detail is being rendered in,nullorBOTHto match any- Returns:
- whether a detail with this verbosity should be shown in the given context
-