Class QuinoaConfigDelegate

    • Constructor Detail

      • QuinoaConfigDelegate

        public QuinoaConfigDelegate​(QuinoaConfig delegate)
    • Method Detail

      • justBuild

        public boolean justBuild()
        Description copied from interface: QuinoaConfig
        Indicate if Quinoa should just do the build part. If true, Quinoa will NOT serve the Web UI built resources. This is handy when the output of the build is used to be served via something else (nginx, cdn, ...) Quinoa put the built files in 'target/quinoa/build' (or 'build/quinoa/build with Gradle).
        Specified by:
        justBuild in interface QuinoaConfig
      • uiDir

        public String uiDir()
        Description copied from interface: QuinoaConfig
        Path to the Web UI (NodeJS) root directory (relative to the project root).
        Specified by:
        uiDir in interface QuinoaConfig
      • buildDir

        public Optional<String> buildDir()
        Description copied from interface: QuinoaConfig
        This the Web UI internal build system (webpack, ...) output directory. After the build, Quinoa will take the files from this directory, move them to 'target/quinoa/build' (or build/quinoa/build with Gradle) and serve them at runtime. The path is relative to the Web UI path.
        Specified by:
        buildDir in interface QuinoaConfig
      • runTests

        public boolean runTests()
        Description copied from interface: QuinoaConfig
        Indicate if the Web UI should also be tested during the build phase (i.e: npm test). To be used in a io.quarkus.test.junit.QuarkusTestProfile to have Web UI test running during a io.quarkus.test.junit.QuarkusTest
        Specified by:
        runTests in interface QuinoaConfig
      • ci

        public Optional<Boolean> ci()
        Description copied from interface: QuinoaConfig
        Install the packages without generating a lockfile (frozen lockfile) and failing if an update is needed (useful in CI).
        Specified by:
        ci in interface QuinoaConfig
      • forceInstall

        public boolean forceInstall()
        Description copied from interface: QuinoaConfig
        Force install packages before building. It will install packages only if the node_modules directory is absent or when the package.json is modified in dev-mode.
        Specified by:
        forceInstall in interface QuinoaConfig
      • enableSPARouting

        public boolean enableSPARouting()
        Description copied from interface: QuinoaConfig
        Enable SPA (Single Page Application) routing, all relevant requests will be re-routed to the index page. Currently, for technical reasons, the Quinoa SPA routing configuration won't work with RESTEasy Classic.
        Specified by:
        enableSPARouting in interface QuinoaConfig