Enum BuildStatus
- java.lang.Object
-
- java.lang.Enum<BuildStatus>
-
- eu.royalsloth.depbuilder.dsl.scheduling.BuildStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<BuildStatus>
public enum BuildStatus extends Enum<BuildStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT
The build node was aborted during the build (usually manual abort)ERROR
An error occurred during the build processIN_PROGRESS
The build is in progressNO_BUILD
This node should not be builtNONE
The node was not yet built, but it is on the list of build nodesPARENT_ERROR
The build node has a parent with build errorsSUCCESS
The node was successfully built
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final BuildStatus ERROR
An error occurred during the build process
-
PARENT_ERROR
public static final BuildStatus PARENT_ERROR
The build node has a parent with build errors
-
ABORT
public static final BuildStatus ABORT
The build node was aborted during the build (usually manual abort)
-
SUCCESS
public static final BuildStatus SUCCESS
The node was successfully built
-
IN_PROGRESS
public static final BuildStatus IN_PROGRESS
The build is in progress
-
NO_BUILD
public static final BuildStatus NO_BUILD
This node should not be built
-
NONE
public static final BuildStatus NONE
The node was not yet built, but it is on the list of build nodes
-
-
Method Detail
-
values
public static BuildStatus[] 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 (BuildStatus c : BuildStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildStatus 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
-
-