@UserImplemented(adapterClass=BuildProcessAdapter.class) public interface BuildProcess
CommandLineBuildServiceFactory
is the best possible extension point for build runners that deals with
one process.
Consider extending BuildProcessAdapter
class instead of implementing this interface directlyModifier and Type | Method and Description |
---|---|
void |
interrupt()
enforce build to stop.
|
boolean |
isFinished() |
boolean |
isInterrupted()
true iff build is finished and build was interrupted
|
void |
start()
This method is called to start runner.
|
BuildFinishedStatus |
waitFor()
Wait for Runner to finish or to interrupt
|
void start() throws RunBuildException
@waitFor
method.RunBuildException
- to stop the build with errorboolean isInterrupted()
boolean isFinished()
void interrupt()
@NotNull BuildFinishedStatus waitFor() throws RunBuildException
RunBuildException
- to indicate run build runner failure