Class ProjectRuntimeOptions.Builder

    • Method Detail

      • typescript

        public ProjectRuntimeOptions.Builder typescript​(java.lang.Boolean typescript)
        Applies to NodeJS projects only. A boolean that controls whether to use ts-node to execute sources.
        Parameters:
        typescript - the typescript flag
        Returns:
        the builder
      • nodeargs

        public ProjectRuntimeOptions.Builder nodeargs​(java.lang.String nodeargs)
        Applies to NodeJS projects only. Arguments to pass to node.
        Parameters:
        nodeargs - arguments to pass to node
        Returns:
        the builder
      • packagemanager

        public ProjectRuntimeOptions.Builder packagemanager​(java.lang.String packagemanager)
        Applies to NodeJS projects only. The package manager to use for installing dependencies, either "npm" (default), "pnpm", or "yarn".
        Parameters:
        packagemanager - the package manager
        Returns:
        the builder
      • buildTarget

        public ProjectRuntimeOptions.Builder buildTarget​(java.lang.String buildTarget)
        Applies to Go projects only. Path to save the compiled go binary to.
        Parameters:
        buildTarget - the build target
        Returns:
        the builder
      • binary

        public ProjectRuntimeOptions.Builder binary​(java.lang.String binary)
        Applies to Go, .NET, and Java projects only.
        • Go: A string that specifies the name of a pre-build executable to look for on your path.
        • .NET: A string that specifies the path of a pre-build .NET assembly.
        • Java: A string that specifies the path of a pre-build Java JAR file or a JBang entry-point file to execute.
        Parameters:
        binary - the binary
        Returns:
        the builder
      • toolchain

        public ProjectRuntimeOptions.Builder toolchain​(java.lang.String toolchain)
        Applies to Python projects only. The toolchain to use for managing virtual environments, either "pip" (default) or "poetry", or "uv".
        Parameters:
        toolchain - the toolchain
        Returns:
        the builder
      • virtualenv

        public ProjectRuntimeOptions.Builder virtualenv​(java.lang.String virtualenv)
        Applies to Python projects only. A string that specifies the path to a virtual environment to use when running the program.
        Parameters:
        virtualenv - the virtual environment
        Returns:
        the builder
      • typechecker

        public ProjectRuntimeOptions.Builder typechecker​(java.lang.String typechecker)
        Applies to Python projects only. The type checker library to use.
        Parameters:
        typechecker - the type checker
        Returns:
        the builder
      • compiler

        public ProjectRuntimeOptions.Builder compiler​(java.lang.String compiler)
        Applies to YAML projects only. Executable and arguments issued to standard out.
        Parameters:
        compiler - executable and arguments
        Returns:
        the builder