com.google.appengine.tools.info
Class UpdateCheckResults
- java.lang.Object
-
- com.google.appengine.tools.info.UpdateCheckResults
-
public class UpdateCheckResults extends java.lang.ObjectMakes information about the local SDK version and the latest remote version available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classUpdateCheckResults.VersionComparatorVersionComparatorcompares strings that represent dotted version numbers (e.g.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description VersiongetLocalVersion()Returns aVersionfor the current local SDK.VersiongetRemoteVersion()Returns aVersionfor the remote servers.booleanisApiVersionSupportedLocally(java.lang.String apiVersion)Returns true ifapiVersionis supported by the local SDK.booleanisApiVersionSupportedRemotely(java.lang.String apiVersion)Returns true ifapiVersionis supported on the server.booleanisLocalApiVersionNoLongerSupported()Returns true if the server does not support any of the API versions supported by the local SDK.booleanisNewerApiVersionAvailable()Returns true if the server supports a new API version that the local SDK does not.booleanisNewerReleaseAvailable()Returns true if there is a newer SDK release available on the remote server.
-
-
-
Method Detail
-
isNewerReleaseAvailable
public boolean isNewerReleaseAvailable()
Returns true if there is a newer SDK release available on the remote server.
-
isNewerApiVersionAvailable
public boolean isNewerApiVersionAvailable()
Returns true if the server supports a new API version that the local SDK does not.
-
isLocalApiVersionNoLongerSupported
public boolean isLocalApiVersionNoLongerSupported()
Returns true if the server does not support any of the API versions supported by the local SDK.
-
isApiVersionSupportedRemotely
public boolean isApiVersionSupportedRemotely(java.lang.String apiVersion)
Returns true ifapiVersionis supported on the server.
-
isApiVersionSupportedLocally
public boolean isApiVersionSupportedLocally(java.lang.String apiVersion)
Returns true ifapiVersionis supported by the local SDK.
-
-