use of com.intellij.remoteServer.impl.configuration.deployment.ModuleDeploymentSourceImpl 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);
}
use of com.intellij.remoteServer.impl.configuration.deployment.ModuleDeploymentSourceImpl in project intellij-community by JetBrains.
the class CloudModuleDeploymentRuntimeProviderBase method getDeploymentSources.
@Override
public Collection<DeploymentSource> getDeploymentSources(Project project) {
List<DeploymentSource> result = new ArrayList<>();
ModulePointerManager pointerManager = ModulePointerManager.getInstance(project);
for (Module module : ModuleManager.getInstance(project).getModules()) {
result.add(new ModuleDeploymentSourceImpl(pointerManager.create(module)));
}
return result;
}
Aggregations