Class ProjectRuntimeOptions


  • public class ProjectRuntimeOptions
    extends java.lang.Object
    Various configuration options that apply to different language runtimes.
    • Method Detail

      • typescript

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

        public java.lang.String nodeargs()
        Applies to NodeJS projects only. Arguments to pass to node.
        Returns:
        the arguments to pass to node
      • packagemanager

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

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

        public 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.
        Returns:
        the binary
      • toolchain

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

        public 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.
        Returns:
        the virtual environment
      • typechecker

        public java.lang.String typechecker()
        Applies to Python projects only. The type checker library to use.
        Returns:
        the type checker
      • compiler

        public java.lang.String compiler()
        Applies to YAML projects only. Executable and arguments issued to standard out.
        Returns:
        the compiler
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object