Package hec.server
Class AppVersion
java.lang.Object
hec.server.AppVersion
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 Summary
Modifier and TypeMethodDescriptionstatic StringcheckAppVersion(String wkspVersion, String wkspName) check that the watershed version is compatible with the application versionstatic Stringget the application version being usedstatic voidsetAppVersion(String appVersion) set the application version to usestatic booleando we check the application version during opening of the watershed or writing of the watershed
-
Method Details
-
checkAppVersion
check that the watershed version is compatible with the application version- Parameters:
wkspVersion- the workspace versionwkspName- the workspace name- Returns:
- null if its compatible, non-null if its not...the return will be the reason why
-
setAppVersion
set the application version to use- Parameters:
appVersion-
-
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:
-