Enum BuildSettings.ParentFailureMode
- java.lang.Object
-
- java.lang.Enum<BuildSettings.ParentFailureMode>
-
- eu.royalsloth.depbuilder.dsl.scheduling.BuildSettings.ParentFailureMode
-
- All Implemented Interfaces:
Serializable
,Comparable<BuildSettings.ParentFailureMode>
- Enclosing class:
- BuildSettings
public static enum BuildSettings.ParentFailureMode extends Enum<BuildSettings.ParentFailureMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
allModes()
static Optional<BuildSettings.ParentFailureMode>
parse(String input)
static BuildSettings.ParentFailureMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildSettings.ParentFailureMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD
public static final BuildSettings.ParentFailureMode BUILD
Build child node even if there were errors upstream
-
ABORT
public static final BuildSettings.ParentFailureMode ABORT
Don't build child node if one of the parents build failed
-
-
Method Detail
-
values
public static BuildSettings.ParentFailureMode[] 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 (BuildSettings.ParentFailureMode c : BuildSettings.ParentFailureMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildSettings.ParentFailureMode 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
-
parse
public static Optional<BuildSettings.ParentFailureMode> parse(String input)
-
allModes
public static String allModes()
-
-