class BuildProcessController implements ProcessController {

  @Override
  public void stopProcess() {
    myBuildStopper.attemptToStopBuild(myTaskId, myProgressIndicator);
  }

    BuildProcessController(@NotNull ExternalSystemTaskId taskId,
                         @NotNull BuildStopper buildStopper,
                         @NotNull ProgressIndicator progressIndicator);

}