com.google.appengine.tools.info
Class UpdateCheckResults
- java.lang.Object
-
- com.google.appengine.tools.info.UpdateCheckResults
-
public class UpdateCheckResults extends java.lang.Object
Makes information about the local SDK version and the latest remote version available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
UpdateCheckResults.VersionComparator
VersionComparator
compares strings that represent dotted version numbers (e.g.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Version
getLocalVersion()
Returns aVersion
for the current local SDK.Version
getRemoteVersion()
Returns aVersion
for the remote servers.boolean
isApiVersionSupportedLocally(java.lang.String apiVersion)
Returns true ifapiVersion
is supported by the local SDK.boolean
isApiVersionSupportedRemotely(java.lang.String apiVersion)
Returns true ifapiVersion
is supported on the server.boolean
isLocalApiVersionNoLongerSupported()
Returns true if the server does not support any of the API versions supported by the local SDK.boolean
isNewerApiVersionAvailable()
Returns true if the server supports a new API version that the local SDK does not.boolean
isNewerReleaseAvailable()
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 ifapiVersion
is supported on the server.
-
isApiVersionSupportedLocally
public boolean isApiVersionSupportedLocally(java.lang.String apiVersion)
Returns true ifapiVersion
is supported by the local SDK.
-
-