Package io.quarkus.arc.impl
Enum ReactiveType
- java.lang.Object
-
- java.lang.Enum<ReactiveType>
-
- io.quarkus.arc.impl.ReactiveType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReactiveType>
public enum ReactiveType extends Enum<ReactiveType>
A method reactive returned type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI
The method returns aMulti
NON_REACTIVE
The method returns a non recognised reactive typeSTAGE
The method returns aCompletionStage
UNI
The method returns aUni
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReactiveType
valueOf(Method method)
Returns the enum constant of this type with the specified name.static ReactiveType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReactiveType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_REACTIVE
public static final ReactiveType NON_REACTIVE
The method returns a non recognised reactive type
-
UNI
public static final ReactiveType UNI
The method returns aUni
-
MULTI
public static final ReactiveType MULTI
The method returns aMulti
-
STAGE
public static final ReactiveType STAGE
The method returns aCompletionStage
-
-
Method Detail
-
values
public static ReactiveType[] 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 (ReactiveType c : ReactiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReactiveType 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
-
valueOf
public static ReactiveType valueOf(Method method)
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:
method
- 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
-
-