diff --git a/platform/remote-servers/api/src/com/intellij/remoteServer/ServerType.java b/platform/remote-servers/api/src/com/intellij/remoteServer/ServerType.java index f599d7c6ed77..53f608c72b6e 100644 --- a/platform/remote-servers/api/src/com/intellij/remoteServer/ServerType.java +++ b/platform/remote-servers/api/src/com/intellij/remoteServer/ServerType.java @@ -41,7 +41,7 @@ public abstract class ServerType { public abstract UnnamedConfigurable createConfigurable(@NotNull C configuration); @NotNull - public abstract DeploymentConfigurator createDeploymentConfigurator(Project project); + public abstract DeploymentConfigurator createDeploymentConfigurator(Project project); @NotNull public abstract ServerConnector createConnector(@NotNull C configuration, @NotNull ServerTaskExecutor asyncTasksExecutor); diff --git a/platform/remote-servers/api/src/com/intellij/remoteServer/configuration/deployment/DeploymentConfigurator.java b/platform/remote-servers/api/src/com/intellij/remoteServer/configuration/deployment/DeploymentConfigurator.java index 4932752990de..4aa4a6644a75 100644 --- a/platform/remote-servers/api/src/com/intellij/remoteServer/configuration/deployment/DeploymentConfigurator.java +++ b/platform/remote-servers/api/src/com/intellij/remoteServer/configuration/deployment/DeploymentConfigurator.java @@ -17,6 +17,7 @@ package com.intellij.remoteServer.configuration.deployment; import com.intellij.openapi.options.SettingsEditor; import com.intellij.remoteServer.configuration.RemoteServer; +import com.intellij.remoteServer.configuration.ServerConfiguration; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -25,7 +26,7 @@ import java.util.List; /** * @author nik */ -public abstract class DeploymentConfigurator { +public abstract class DeploymentConfigurator { @NotNull public abstract List getAvailableDeploymentSources(); @@ -33,5 +34,5 @@ public abstract class DeploymentConfigurator public abstract D createDefaultConfiguration(@NotNull DeploymentSource source); @Nullable - public abstract SettingsEditor createEditor(@NotNull DeploymentSource source, @NotNull RemoteServer server); + public abstract SettingsEditor createEditor(@NotNull DeploymentSource source, @NotNull RemoteServer server); } diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerConfigurationType.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerConfigurationType.java index 2118273372db..e1d78a60e9c7 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerConfigurationType.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerConfigurationType.java @@ -66,7 +66,7 @@ public class DeployToServerConfigurationType extends ConfigurationTypeBase { @Override public void onNewConfigurationCreated(@NotNull RunConfiguration configuration) { - DeployToServerRunConfiguration deployConfiguration = (DeployToServerRunConfiguration)configuration; + DeployToServerRunConfiguration deployConfiguration = (DeployToServerRunConfiguration)configuration; if (deployConfiguration.getServerName() == null) { RemoteServer server = ContainerUtil.getFirstItem(RemoteServersManager.getInstance().getServers(myServerType)); if (server != null) { @@ -87,7 +87,7 @@ public class DeployToServerConfigurationType extends ConfigurationTypeBase { @Override public RunConfiguration createTemplateConfiguration(Project project) { - DeploymentConfigurator deploymentConfigurator = myServerType.createDeploymentConfigurator(project); + DeploymentConfigurator deploymentConfigurator = myServerType.createDeploymentConfigurator(project); return new DeployToServerRunConfiguration(project, this, "", myServerType, deploymentConfigurator); } } diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerRunConfiguration.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerRunConfiguration.java index d2ec003b435b..d95e078e0572 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerRunConfiguration.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerRunConfiguration.java @@ -52,12 +52,12 @@ public class DeployToServerRunConfiguration myServerType; - private final DeploymentConfigurator myDeploymentConfigurator; + private final DeploymentConfigurator myDeploymentConfigurator; private String myServerName; private DeploymentSource myDeploymentSource; private D myDeploymentConfiguration; - public DeployToServerRunConfiguration(Project project, ConfigurationFactory factory, String name, ServerType serverType, DeploymentConfigurator deploymentConfigurator) { + public DeployToServerRunConfiguration(Project project, ConfigurationFactory factory, String name, ServerType serverType, DeploymentConfigurator deploymentConfigurator) { super(project, factory, name); myServerType = serverType; myDeploymentConfigurator = deploymentConfigurator; @@ -73,7 +73,7 @@ public class DeployToServerRunConfiguration getDeploymentConfigurator() { + public DeploymentConfigurator getDeploymentConfigurator() { return myDeploymentConfigurator; } diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerSettingsEditor.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerSettingsEditor.java index 017d322c1d8e..ab034c1b0233 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerSettingsEditor.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/configuration/deployment/DeployToServerSettingsEditor.java @@ -47,7 +47,7 @@ import java.util.Comparator; */ public class DeployToServerSettingsEditor extends SettingsEditor> { private final ServerType myServerType; - private final DeploymentConfigurator myDeploymentConfigurator; + private final DeploymentConfigurator myDeploymentConfigurator; private final Project myProject; private final ComboboxWithBrowseButton myServerComboBox; private final ComboBox mySourceComboBox; @@ -58,7 +58,7 @@ public class DeployToServerSettingsEditor myLastSelectedServer; - public DeployToServerSettingsEditor(final ServerType type, DeploymentConfigurator deploymentConfigurator, Project project) { + public DeployToServerSettingsEditor(final ServerType type, DeploymentConfigurator deploymentConfigurator, Project project) { myServerType = type; myDeploymentConfigurator = deploymentConfigurator; myProject = project; diff --git a/plugins/google-app-engine/source/com/intellij/appengine/cloud/AppEngineCloudType.java b/plugins/google-app-engine/source/com/intellij/appengine/cloud/AppEngineCloudType.java index 33546d8656f6..0ec07d4b76eb 100644 --- a/plugins/google-app-engine/source/com/intellij/appengine/cloud/AppEngineCloudType.java +++ b/plugins/google-app-engine/source/com/intellij/appengine/cloud/AppEngineCloudType.java @@ -121,7 +121,7 @@ public class AppEngineCloudType extends ServerType } } - private static class AppEngineDeploymentConfigurator extends DeploymentConfigurator { + private static class AppEngineDeploymentConfigurator extends DeploymentConfigurator { private final Project myProject; public AppEngineDeploymentConfigurator(Project project) { @@ -142,7 +142,7 @@ public class AppEngineCloudType extends ServerType } @Override - public SettingsEditor createEditor(@NotNull DeploymentSource source, RemoteServer server) { + public SettingsEditor createEditor(@NotNull DeploymentSource source, @NotNull RemoteServer server) { return null; } }