use of com.intellij.remoteServer.runtime.deployment.DeploymentRuntime in project intellij-community by JetBrains.
the class LocalDeploymentImpl method setRemoteDeployment.
public void setRemoteDeployment(DeploymentImpl remoteDeployment) {
myRemoteDeployment = remoteDeployment;
String presentableName = null;
if (remoteDeployment != null) {
DeploymentRuntime deploymentRuntime = remoteDeployment.getRuntime();
DeploymentTask<D> task = getDeploymentTask();
if (deploymentRuntime != null) {
presentableName = myServerInstance.getRuntimeDeploymentName(deploymentRuntime, task.getSource(), task.getConfiguration());
}
}
setPresentableName(presentableName);
}
use of com.intellij.remoteServer.runtime.deployment.DeploymentRuntime in project intellij-community by JetBrains.
the class ApplicationActionBase method getApplicationRuntime.
protected T getApplicationRuntime(DeploymentNode node) {
Deployment deployment = getDeployment(node);
if (deployment == null) {
return null;
}
DeploymentRuntime deploymentRuntime = deployment.getRuntime();
return ObjectUtils.tryCast(deploymentRuntime, getApplicationRuntimeClass());
}
Aggregations