Class Build

    • Constructor Detail

      • Build

        public Build()
    • Method Detail

      • addExtension

        public void addExtension(Extension extension)
        Method addExtension.
        Parameters:
        extension -
      • clone

        public Build clone()
        Method clone.
        Overrides:
        clone in class  BuildBase
        Returns:
        Build
      • getExtensions

        public List<Extension> getExtensions()
        Method getExtensions.
        Returns:
        List
      • getOutputDirectory

        public String getOutputDirectory()
        Get the directory where compiled application classes are placed. The default value is target/classes.
        Returns:
        String
      • getScriptSourceDirectory

        public String getScriptSourceDirectory()
        Get this element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled). The default value is src/main/scripts.
        Returns:
        String
      • getSourceDirectory

        public String getSourceDirectory()
        Get this element specifies a directory containing the source of the project. The generated build system will compile the sources from this directory when the project is built. The path given is relative to the project descriptor. The default value is src/main/java.
        Returns:
        String
      • getTestOutputDirectory

        public String getTestOutputDirectory()
        Get the directory where compiled test classes are placed. The default value is target/test-classes.
        Returns:
        String
      • getTestSourceDirectory

        public String getTestSourceDirectory()
        Get this element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor. The default value is src/test/java.
        Returns:
        String
      • removeExtension

        public void removeExtension(Extension extension)
        Method removeExtension.
        Parameters:
        extension -
      • setExtensions

        public void setExtensions(List<Extension> extensions)
        Set a set of build extensions to use from this project.
        Parameters:
        extensions -
      • setOutputDirectory

        public void setOutputDirectory(String outputDirectory)
        Set the directory where compiled application classes are placed. The default value is target/classes.
        Parameters:
        outputDirectory -
      • setScriptSourceDirectory

        public void setScriptSourceDirectory(String scriptSourceDirectory)
        Set this element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled). The default value is src/main/scripts.
        Parameters:
        scriptSourceDirectory -
      • setSourceDirectory

        public void setSourceDirectory(String sourceDirectory)
        Set this element specifies a directory containing the source of the project. The generated build system will compile the sources from this directory when the project is built. The path given is relative to the project descriptor. The default value is src/main/java.
        Parameters:
        sourceDirectory -
      • setTestOutputDirectory

        public void setTestOutputDirectory(String testOutputDirectory)
        Set the directory where compiled test classes are placed. The default value is target/test-classes.
        Parameters:
        testOutputDirectory -
      • setTestSourceDirectory

        public void setTestSourceDirectory(String testSourceDirectory)
        Set this element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor. The default value is src/test/java.
        Parameters:
        testSourceDirectory -