Enum FrameworkType

    • Field Detail

      • DEV_SCRIPTS

        public static final Set<String> DEV_SCRIPTS
    • 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 name
        NullPointerException - if the argument is null
      • detectFramework

        public static DetectedFramework detectFramework​(io.quarkus.deployment.builditem.LaunchModeBuildItem launchMode,
                                                        QuinoaConfig config,
                                                        Path packageJsonFile)
      • shouldScanPath

        public static boolean shouldScanPath​(Path filePath)
        Check whether this path should be scanned for changes by comparing against known directories that should be ignored. Ignored directories include any that start with DOT "." like ".next" or ".svelte", also "node_modules" and any of the framework build directories.
        Parameters:
        filePath - the file path to check
        Returns:
        true if it is a directory that should be scanned for changes, false if it should be ignored
      • getBuildDirectory

        public String getBuildDirectory()
      • getDevScript

        public String getDevScript()
      • getPackageScripts

        public Set<String> getPackageScripts()
      • getDevServerPort

        public int getDevServerPort()