rename to NuGetActionFactory, add Update packages getters
[teamcity/dotNetPackagesSupport.git] / nuget-agent / src / jetbrains / buildServer / nuget / agent / install / PackagesInstallerRunner.java
index 9d89e573c565ed945b4d76796b21b306e81957cd..678f5d6acfca23320b4a11cdf8e40e14023942d1 100644 (file)
@@ -37,10 +37,10 @@ import static jetbrains.buildServer.nuget.agent.install.LocateNuGetConfigBuildPr
 public class PackagesInstallerRunner implements AgentBuildRunner, AgentBuildRunnerInfo {\r
   private static final Logger LOG = Logger.getInstance(PackagesInstallerRunner.class.getName());\r
 \r
-  private final NuGetInstallPackageActionFactory myInstallActionFactory;\r
+  private final NuGetActionFactory myInstallActionFactory;\r
   private final PackageInstallParametersFactory myParametersFactory;\r
 \r
-  public PackagesInstallerRunner(@NotNull final NuGetInstallPackageActionFactory installActionFactory,\r
+  public PackagesInstallerRunner(@NotNull final NuGetActionFactory installActionFactory,\r
                                  @NotNull final PackageInstallParametersFactory parametersFactory) {\r
     myInstallActionFactory = installActionFactory;\r
     myParametersFactory = parametersFactory;\r
@@ -79,7 +79,7 @@ public class PackagesInstallerRunner implements AgentBuildRunner, AgentBuildRunn
                             if (pathToLog == null) pathToLog = config.getPath();\r
                             logger.activityStarted("install", "Installing NuGet packages for " + pathToLog, "nuget");\r
 \r
-                            return myInstallActionFactory.createBuildProcess(context,\r
+                            return myInstallActionFactory.createInstall(context,\r
                                     parameters,\r
                                     config,\r
                                     targetFolder)\r