Package io.quarkus.smallrye.openapi
Enum Class OpenApiFilter.RunStage
- All Implemented Interfaces:
Serializable,Comparable<OpenApiFilter.RunStage>,Constable
- Enclosing class:
OpenApiFilter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Run the filter once at build time.Deprecated, for removal: This API element is subject to removal in a future version.Consider replacing with eitherRUNTIME_STARTUPorRUNTIME_PER_REQUEST, depending on the value of the now also deprecated quarkus.smallrye-openapi.always-run-filter.Run the filter on every request.Run the filter once at runtime startup. -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenApiFilter.RunStageReturns the enum constant of this class with the specified name.static OpenApiFilter.RunStage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILD
Run the filter once at build time. -
RUN
Deprecated, for removal: This API element is subject to removal in a future version.Consider replacing with eitherRUNTIME_STARTUPorRUNTIME_PER_REQUEST, depending on the value of the now also deprecated quarkus.smallrye-openapi.always-run-filter. -
BOTH
Deprecated, for removal: This API element is subject to removal in a future version.Consider replacing withstages = {OpenApiFilter.RunStage.BUILD, OpenApiFilter.RunStage.RUNTIME_STARTUP}orstages = {OpenApiFilter.RunStage.BUILD, OpenApiFilter.RunStage.RUNTIME_PER_REQUEST}, depending on the value of the now also deprecated quarkus.smallrye-openapi.always-run-filter. -
RUNTIME_STARTUP
Run the filter once at runtime startup. -
RUNTIME_PER_REQUEST
Run the filter on every request. This makes the OpenAPI document dynamic.
-
-
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
-
stages = {OpenApiFilter.RunStage.BUILD, OpenApiFilter.RunStage.RUNTIME_STARTUP}orstages = {OpenApiFilter.RunStage.BUILD, OpenApiFilter.RunStage.RUNTIME_PER_REQUEST}, depending on the value of the now also deprecated quarkus.smallrye-openapi.always-run-filter.