Enum TaskOutcome_1
- java.lang.Object
-
- java.lang.Enum<TaskOutcome_1>
-
- com.gradle.scan.eventmodel.gradle.task.TaskOutcome_1
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskOutcome_1>
@PluginVersion(since="1.0") public enum TaskOutcome_1 extends Enum<TaskOutcome_1>
The outcome of a task execution.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVOIDED_FOR_UNKNOWN_REASON
FAILED
FROM_CACHE
NO_SOURCE
SKIPPED
SUCCESS
UP_TO_DATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskOutcome_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskOutcome_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UP_TO_DATE
@PluginVersion(since="1.0") public static final TaskOutcome_1 UP_TO_DATE
-
SKIPPED
@PluginVersion(since="1.0") public static final TaskOutcome_1 SKIPPED
-
FAILED
@PluginVersion(since="1.0") public static final TaskOutcome_1 FAILED
-
SUCCESS
@PluginVersion(since="1.0") public static final TaskOutcome_1 SUCCESS
-
FROM_CACHE
@PluginVersion(since="1.1") public static final TaskOutcome_1 FROM_CACHE
-
NO_SOURCE
@PluginVersion(since="1.5") public static final TaskOutcome_1 NO_SOURCE
-
AVOIDED_FOR_UNKNOWN_REASON
@PluginVersion(since="1.1") public static final TaskOutcome_1 AVOIDED_FOR_UNKNOWN_REASON
-
-
Method Detail
-
values
public static TaskOutcome_1[] 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 (TaskOutcome_1 c : TaskOutcome_1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskOutcome_1 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
-
-