Interface BuildStep

  • All Known Implementing Classes:
    MavenGoal

    public interface BuildStep
    A project build step.
    • Method Detail

      • name

        default String name()
        Returns the name of this build step.
        Returns:
        the name.
      • incrementalBuild

        void incrementalBuild​(BuildRoot.Changes changes,
                              Consumer<String> stdOut,
                              Consumer<String> stdErr)
                       throws Exception
        Execute the build step for the given changed files only. Any component that does not match this predicate is ignored.
        Parameters:
        changes - The changes.
        stdOut - A consumer for stdout.
        stdErr - A consumer for stderr.
        Throws:
        Exception - on error.