Interface BuildStep

    • Method Detail

      • name

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

        BuildRootType inputType()
        Returns the input type to which this step will apply.
        Returns:
        The type.
      • outputType

        BuildRootType outputType()
        Returns the output type that this step will produce.
        Returns:
        The type.
      • 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.