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);
}
Aggregations