Enum MonitorPipelineStage.MonitorBehavior
- java.lang.Object
-
- java.lang.Enum<MonitorPipelineStage.MonitorBehavior>
-
- com.netflix.spinnaker.orca.front50.pipeline.MonitorPipelineStage.MonitorBehavior
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MonitorPipelineStage.MonitorBehavior>
- Enclosing class:
- MonitorPipelineStage
public static enum MonitorPipelineStage.MonitorBehavior extends java.lang.Enum<MonitorPipelineStage.MonitorBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FailFastAs soon as (at least) one monitored pipeline fails, terminate this stageWaitForAllToCompleteDuring monitor, wait for all pipelines to complete before completing the stage even if a monitored pipeline fails
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MonitorPipelineStage.MonitorBehaviorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MonitorPipelineStage.MonitorBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WaitForAllToComplete
public static final MonitorPipelineStage.MonitorBehavior WaitForAllToComplete
During monitor, wait for all pipelines to complete before completing the stage even if a monitored pipeline fails
-
FailFast
public static final MonitorPipelineStage.MonitorBehavior FailFast
As soon as (at least) one monitored pipeline fails, terminate this stage
-
-
Method Detail
-
values
public static MonitorPipelineStage.MonitorBehavior[] 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 (MonitorPipelineStage.MonitorBehavior c : MonitorPipelineStage.MonitorBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonitorPipelineStage.MonitorBehavior valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-