Enum Class StageDepth
- All Implemented Interfaces:
Serializable,Comparable<StageDepth>,Constable
How many of the stages of a Pipeline build are reported. A pipeline with tens of nested stages is
difficult to read in Gerrit, so the nested ones can be left out.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReport every stage, however deeply nested.Leave the setting to the enclosing folder and finally to the global configuration.Report stages up toStageReporting.getMaxDepth()levels deep.Report only the stages that are not nested inside another stage. -
Method Summary
Modifier and TypeMethodDescriptionLabel of the option in the configuration forms.booleanisSet()static StageDepthReturns the enum constant of this class with the specified name.static StageDepth[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INHERIT
Leave the setting to the enclosing folder and finally to the global configuration. -
ALL
Report every stage, however deeply nested. -
TOP_LEVEL
Report only the stages that are not nested inside another stage. -
MAX_DEPTH
Report stages up toStageReporting.getMaxDepth()levels deep.
-
-
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
-
isSet
public boolean isSet() -
getDisplayName
Label of the option in the configuration forms.
-