Search in sources :

Example 1 with ModulePointer

use of com.intellij.openapi.module.ModulePointer in project intellij-community by JetBrains.

the class CloudRunConfigurationUtil method createRunConfiguration.

public static <SC extends ServerConfiguration, DC extends DeploymentConfiguration> DeployToServerRunConfiguration<SC, DC> createRunConfiguration(RemoteServer<SC> account, Module module, DC deploymentConfiguration) {
    final ModulePointer modulePointer = ModulePointerManager.getInstance(module.getProject()).create(module);
    DeploymentSource deploymentSource = new ModuleDeploymentSourceImpl(modulePointer);
    return createRunConfiguration(account, module, deploymentSource, deploymentConfiguration);
}
Also used : ModulePointer(com.intellij.openapi.module.ModulePointer) ModuleDeploymentSourceImpl(com.intellij.remoteServer.impl.configuration.deployment.ModuleDeploymentSourceImpl) DeploymentSource(com.intellij.remoteServer.configuration.deployment.DeploymentSource)

Aggregations

ModulePointer (com.intellij.openapi.module.ModulePointer)1 DeploymentSource (com.intellij.remoteServer.configuration.deployment.DeploymentSource)1 ModuleDeploymentSourceImpl (com.intellij.remoteServer.impl.configuration.deployment.ModuleDeploymentSourceImpl)1