polish Publish RunType UI
[teamcity/dotNetPackagesSupport.git] / nuget-server / src / jetbrains / buildServer / nuget / server / install / InstallBean.java
index b7388b8e4e46d9d7d8b9746ee2e1e0695fce18af..bb7378f73ad73306d95bbb07fc04318d97e7dd66 100644 (file)
 \r
 package jetbrains.buildServer.nuget.server.install;\r
 \r
-import jetbrains.buildServer.nuget.common.PackagesInstallerConstants;\r
+import jetbrains.buildServer.nuget.common.PackagesConstants;\r
+import jetbrains.buildServer.nuget.common.PackagesUpdateMode;\r
 \r
 /**\r
  * Created by Eugene Petrenko (eugene.petrenko@gmail.com)\r
  * Date: 08.07.11 20:49\r
  */\r
 public class InstallBean {\r
-  public String getNuGetPathKey() { return PackagesInstallerConstants.NUGET_PATH; }\r
-  public String getNuGetSourcesKey() { return PackagesInstallerConstants.NUGET_SOURCES; }\r
-  public String getSolutionPathKey() { return PackagesInstallerConstants.SLN_PATH; }\r
-  public String getExcludeVersionKey() { return PackagesInstallerConstants.NUGET_EXCLUDE_VERSION;}\r
+  public String getNuGetPathKey() { return PackagesConstants.NUGET_PATH; }\r
+  public String getNuGetSourcesKey() { return PackagesConstants.NUGET_SOURCES; }\r
+  public String getSolutionPathKey() { return PackagesConstants.SLN_PATH; }\r
+  public String getExcludeVersionKey() { return PackagesConstants.NUGET_EXCLUDE_VERSION;}\r
+  public String getUpdatePackagesKey() { return PackagesConstants.NUGET_UPDATE_PACKAGES;}\r
+  public String getUpdatePackagesSafeKey() { return PackagesConstants.NUGET_UPDATE_PACKAGES_SAFE;}\r
+  public String getUpdateModeKey() { return PackagesConstants.NUGET_UPDATE_MODE;}\r
+  public String getUpdatePerSolutionValue() { return PackagesUpdateMode.FOR_SLN.getName();}\r
+  public String getUpdatePerConfigValue() { return PackagesUpdateMode.FOR_EACH_PACKAGES_CONFIG.getName();}\r
 }\r