Enum FrameworkType
- java.lang.Object
-
- java.lang.Enum<FrameworkType>
-
- io.quarkiverse.quinoa.deployment.framework.FrameworkType
-
- All Implemented Interfaces:
Serializable,Comparable<FrameworkType>
public enum FrameworkType extends Enum<FrameworkType>
Configuration defaults for multiple JS frameworks that can be used to allow for easier adoption with less user configuration.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameworkConfigOverrideFactoryfactory()static QuinoaConfigoverrideConfig(io.quarkus.deployment.builditem.LaunchModeBuildItem launchMode, QuinoaConfig config, Path packageJsonFile)static FrameworkTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FrameworkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REACT
public static final FrameworkType REACT
-
VUE_LEGACY
public static final FrameworkType VUE_LEGACY
-
VITE
public static final FrameworkType VITE
-
SOLID_START
public static final FrameworkType SOLID_START
-
ASTRO
public static final FrameworkType ASTRO
-
NEXT
public static final FrameworkType NEXT
-
NUXT
public static final FrameworkType NUXT
-
ANGULAR
public static final FrameworkType ANGULAR
-
EMBER
public static final FrameworkType EMBER
-
GATSBY
public static final FrameworkType GATSBY
-
MIDWAYJS
public static final FrameworkType MIDWAYJS
-
-
Method Detail
-
values
public static FrameworkType[] 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 (FrameworkType c : FrameworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameworkType 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
-
factory
public FrameworkConfigOverrideFactory factory()
-
overrideConfig
public static QuinoaConfig overrideConfig(io.quarkus.deployment.builditem.LaunchModeBuildItem launchMode, QuinoaConfig config, Path packageJsonFile)
-
-