Enum CodegenTarget
- java.lang.Object
-
- java.lang.Enum<CodegenTarget>
-
- io.apicurio.hub.api.codegen.jaxrs.CodegenTarget
-
- All Implemented Interfaces:
Serializable,Comparable<CodegenTarget>
public enum CodegenTarget extends Enum<CodegenTarget>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodegenTargetvalueOf(String name)Returns the enum constant of this type with the specified name.static CodegenTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAX_RS
public static final CodegenTarget JAX_RS
-
QUARKUS
public static final CodegenTarget QUARKUS
-
THORNTAIL
public static final CodegenTarget THORNTAIL
-
-
Method Detail
-
values
public static CodegenTarget[] 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 (CodegenTarget c : CodegenTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodegenTarget 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
-
-