Interface ReactStartCodegenJobData.Builder

    • Method Detail

      • target

        ReactStartCodegenJobData.Builder target​(String target)

        The ECMAScript specification to use.

        Parameters:
        target - The ECMAScript specification to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JSTarget, JSTarget
      • target

        ReactStartCodegenJobData.Builder target​(JSTarget target)

        The ECMAScript specification to use.

        Parameters:
        target - The ECMAScript specification to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JSTarget, JSTarget
      • script

        ReactStartCodegenJobData.Builder script​(String script)

        The file type to use for a JavaScript project.

        Parameters:
        script - The file type to use for a JavaScript project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JSScript, JSScript
      • script

        ReactStartCodegenJobData.Builder script​(JSScript script)

        The file type to use for a JavaScript project.

        Parameters:
        script - The file type to use for a JavaScript project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JSScript, JSScript
      • renderTypeDeclarations

        ReactStartCodegenJobData.Builder renderTypeDeclarations​(Boolean renderTypeDeclarations)

        Specifies whether the code generation job should render type declaration files.

        Parameters:
        renderTypeDeclarations - Specifies whether the code generation job should render type declaration files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inlineSourceMap

        ReactStartCodegenJobData.Builder inlineSourceMap​(Boolean inlineSourceMap)

        Specifies whether the code generation job should render inline source maps.

        Parameters:
        inlineSourceMap - Specifies whether the code generation job should render inline source maps.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • apiConfiguration

        ReactStartCodegenJobData.Builder apiConfiguration​(ApiConfiguration apiConfiguration)

        The API configuration for the code generation job.

        Parameters:
        apiConfiguration - The API configuration for the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dependencies

        ReactStartCodegenJobData.Builder dependencies​(Map<String,​String> dependencies)

        Lists the dependency packages that may be required for the project code to run.

        Parameters:
        dependencies - Lists the dependency packages that may be required for the project code to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.