Class ProjectBuild

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:42.792Z")
    @Stability(Experimental)
    public class ProjectBuild
    extends Component
    (experimental) Manages a standard build process for all projects.

    Build spawns these tasks in order:

    1. default
    2. pre-compile
    3. compile
    4. post-compile
    5. test
    6. package
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        ProjectBuild​(Project project)  
      protected ProjectBuild​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected ProjectBuild​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • ProjectBuild

        protected ProjectBuild​(software.amazon.jsii.JsiiObjectRef objRef)
      • ProjectBuild

        protected ProjectBuild​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ProjectBuild

        @Stability(Experimental)
        public ProjectBuild​(@NotNull
                            Project project)
        Parameters:
        project - This parameter is required.
    • Method Detail

      • getBuildTask

        @Stability(Experimental)
        @NotNull
        public Task getBuildTask()
        (experimental) The task responsible for a full release build.
      • getCompileTask

        @Stability(Experimental)
        @NotNull
        public Task getCompileTask()
        (experimental) Compiles the code.

        By default for node.js projects this task is empty.

      • getPackageTask

        @Stability(Experimental)
        @NotNull
        public Task getPackageTask()
        (experimental) The "package" task.
      • getPostCompileTask

        @Stability(Experimental)
        @NotNull
        public Task getPostCompileTask()
        (experimental) Post-compile task.
      • getPreCompileTask

        @Stability(Experimental)
        @NotNull
        public Task getPreCompileTask()
        (experimental) Pre-compile task.
      • getTestTask

        @Stability(Experimental)
        @NotNull
        public Task getTestTask()
        (experimental) Tests the code.