Enum OperationType
- All Implemented Interfaces:
Serializable
,Comparable<OperationType>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFlag for build phase events.Flag for file download progress events.Flag for operations with no specific type.Flag for problem events.Flag for project configuration operation progress events.Flag for the topmost progress event.Flag for task operation progress events.Flag for test operation progress events.Flag for test output operation progress events.Flag for transform operation progress events.Flag for work item operation progress events. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationType
Returns the enum constant of this type with the specified name.static OperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TEST
Flag for test operation progress events.The following events are currently issued for this operation type.
-
TASK
Flag for task operation progress events.The following events are currently issued for this operation type.
-
GENERIC
Flag for operations with no specific type.The following events are currently issued for this operation type.
-
WORK_ITEM
Flag for work item operation progress events.The following events are currently issued for this operation type.
- Since:
- 5.1
-
PROJECT_CONFIGURATION
Flag for project configuration operation progress events.The following events are currently issued for this operation type.
- Since:
- 5.1
-
TRANSFORM
Flag for transform operation progress events.The following events are currently issued for this operation type.
- Since:
- 5.1
-
TEST_OUTPUT
Flag for test output operation progress events.Clients must subscribe to
The following events are currently issued for this operation type.TEST
events too if they want to receive test output events.- Since:
- 6.0
-
FILE_DOWNLOAD
Flag for file download progress events. This includes various types of files, for example files downloaded during dependency resolution, Gradle distribution downloads, and Java toolchain downloads.The following events are currently issued for this operation type.
- Since:
- 7.3
-
BUILD_PHASE
Flag for build phase events.The following events are currently issued for this operation type.
- Since:
- 7.6
-
PROBLEMS
Flag for problem events.The following events are currently issued for this operation type.
- Since:
- 8.4
-
ROOT
Flag for the topmost progress event.Using this operation type is useful for capturing the build failure details from the finish event. The following events are currently issued for this operation type.
- Since:
- 8.12
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-