Package io.quarkus.arc.impl
Enum Class ReactiveType
- All Implemented Interfaces:
Serializable
,Comparable<ReactiveType>
,Constable
A method reactive returned type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe method returns aMulti
The method returns a non recognised reactive typeThe method returns aCompletionStage
The method returns aUni
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReactiveType
Returns the enum constant of this class with the specified name.static ReactiveType
Returns the enum constant of this class with the specified name.static ReactiveType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NON_REACTIVE
The method returns a non recognised reactive type -
UNI
The method returns aUni
-
MULTI
The method returns aMulti
-
STAGE
The method returns aCompletionStage
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
method
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-