Package hec.server

Class AppVersion

java.lang.Object
hec.server.AppVersion

public class AppVersion extends Object
class to check that the watershed version if compatible with the application version. i.e. a 3.5 version of the application can't open a 3.6 version of the watershed.
  • Method Details

    • checkAppVersion

      public static String checkAppVersion(String wkspVersion, String wkspName)
      check that the watershed version is compatible with the application version
      Parameters:
      wkspVersion - the workspace version
      wkspName - the workspace name
      Returns:
      null if its compatible, non-null if its not...the return will be the reason why
    • setAppVersion

      public static void setAppVersion(String appVersion)
      set the application version to use
      Parameters:
      appVersion -
    • getAppVersion

      public static String getAppVersion()
      get the application version being used
      Returns:
    • shouldCheckAppVersion

      public static boolean shouldCheckAppVersion()
      do we check the application version during opening of the watershed or writing of the watershed
      Returns: