Enum Class ReactiveType

java.lang.Object
java.lang.Enum<ReactiveType>
io.quarkus.arc.impl.ReactiveType
All Implemented Interfaces:
Serializable, Comparable<ReactiveType>, Constable

public enum ReactiveType extends Enum<ReactiveType>
A method reactive returned type.
  • Enum Constant Details

    • 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 a Uni
    • MULTI

      public static final ReactiveType MULTI
      The method returns a Multi
    • STAGE

      public static final ReactiveType STAGE
      The method returns a CompletionStage
  • Method Details

    • values

      public static ReactiveType[] 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

      public static ReactiveType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOf

      public static ReactiveType valueOf(Method method)
      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 name
      NullPointerException - if the argument is null