Enum Class MonitorPipelineStage.MonitorBehavior
java.lang.Object
java.lang.Enum<MonitorPipelineStage.MonitorBehavior>
com.netflix.spinnaker.orca.front50.pipeline.MonitorPipelineStage.MonitorBehavior
- All Implemented Interfaces:
Serializable,Comparable<MonitorPipelineStage.MonitorBehavior>,Constable
- Enclosing class:
- MonitorPipelineStage
public static enum MonitorPipelineStage.MonitorBehavior
extends Enum<MonitorPipelineStage.MonitorBehavior>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAs soon as (at least) one monitored pipeline fails, terminate this stageDuring monitor, wait for all pipelines to complete before completing the stage even if a monitored pipeline fails -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MonitorPipelineStage.MonitorBehavior[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WaitForAllToComplete
During monitor, wait for all pipelines to complete before completing the stage even if a monitored pipeline fails -
FailFast
As soon as (at least) one monitored pipeline fails, terminate this stage
-
-
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
-