use of com.google.cloud.tools.intellij.appengine.cloud.executor.AppEngineStopTask in project google-cloud-intellij by GoogleCloudPlatform.
the class AppEngineDeploymentRuntime method stop.
private void stop(@NotNull UndeploymentTaskCallback callback) {
AppEngineStop stop = new AppEngineStop(appEngineHelper, loggingHandler, configuration, callback);
final AppEngineExecutor stopRunner = new AppEngineExecutor(new AppEngineStopTask(stop, service, version));
ProgressManager.getInstance().run(new Task.Backgroundable(appEngineHelper.getProject(), "Stop App Engine", true, null) {
@Override
public void run(@NotNull ProgressIndicator indicator) {
ApplicationManager.getApplication().invokeLater(stopRunner);
}
});
}
Aggregations