rename to NuGetActionFactory, add Update packages getters
[teamcity/dotNetPackagesSupport.git] / nuget-agent / src / jetbrains / buildServer / nuget / agent / install / PackagesInstallParameters.java
index 11f1289e6c65649f89f159e66c3bff560ce2a9ba..89be2b9824261ea7c4b1204993c86bd3f0e71c77 100644 (file)
@@ -18,6 +18,7 @@ package jetbrains.buildServer.nuget.agent.install;
 \r
 import jetbrains.buildServer.RunBuildException;\r
 import org.jetbrains.annotations.NotNull;\r
+import org.jetbrains.annotations.Nullable;\r
 \r
 import java.io.File;\r
 import java.util.Collection;\r
@@ -54,4 +55,10 @@ public interface PackagesInstallParameters {
    *         numbers in directory names\r
    */\r
   boolean getExcludeVersion();\r
+\r
+  /**\r
+   * @return package update parameters or null if no update required\r
+   */\r
+  @Nullable\r
+  PackagesUpdateParameters getUpdatePackages();\r
 }\r