public interface ProjectBuilder
Modifier and Type | Method and Description |
---|---|
ProjectBuilder |
addArguments(String... args)
Manually add an argument to be passed to the underlying build system.
|
Resource<?> |
build()
Execute the build, returning the final product as a
Resource . |
Resource<?> |
build(PrintStream out,
PrintStream err)
Execute the build, returning the final product as a
Resource and redirect the output to the provided
streams |
ProjectBuilder |
runTests(boolean test)
Enable or disable test execution during build.
|
ProjectBuilder addArguments(String... args)
ProjectBuilder runTests(boolean test)
Resource<?> build() throws BuildException
Resource
.BuildException
Resource<?> build(PrintStream out, PrintStream err) throws BuildException
Resource
and redirect the output to the provided
streamsBuildException
Copyright © 2014 JBoss by Red Hat. All rights reserved.