use of com.intellij.remoteServer.runtime.deployment.DeploymentLogManager in project intellij-community by JetBrains.
the class CloudDeploymentRuntime method deploy.
public void deploy(ServerRuntimeInstance.DeploymentOperationCallback callback) {
try {
CloudRemoteApplication application = deploy();
DeploymentLogManager logManager = getLogManager();
if (logManager != null) {
LoggingHandler loggingHandler = logManager.getMainLoggingHandler();
loggingHandler.print("Application is available at ");
loggingHandler.printHyperlink(application.getWebUrl());
loggingHandler.print("\n");
}
callback.succeeded(this);
} catch (ServerRuntimeException e) {
callback.errorOccurred(e.getMessage());
}
}
Aggregations