Package io.smallrye.openapi.vertx
Enum VertxParameter
- java.lang.Object
-
- java.lang.Enum<VertxParameter>
-
- io.smallrye.openapi.vertx.VertxParameter
-
- All Implemented Interfaces:
Serializable,Comparable<VertxParameter>
public enum VertxParameter extends Enum<VertxParameter>
Meta information for the Vert.x Parameter annotations relating them to the In and Style attributes of Parameters.- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEADER_PARAMPATH_PARAMQUERY_PARAM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisParameter(org.jboss.jandex.DotName annotationName)static VertxParametervalueOf(String name)Returns the enum constant of this type with the specified name.static VertxParameter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PATH_PARAM
public static final VertxParameter PATH_PARAM
-
QUERY_PARAM
public static final VertxParameter QUERY_PARAM
-
HEADER_PARAM
public static final VertxParameter HEADER_PARAM
-
-
Method Detail
-
values
public static VertxParameter[] 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 (VertxParameter c : VertxParameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VertxParameter 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
-
isParameter
public static boolean isParameter(org.jboss.jandex.DotName annotationName)
-
-