com.google.appengine.tools.info
Class Version
- java.lang.Object
-
- com.google.appengine.tools.info.Version
-
public class Version extends java.lang.Object
Version
supplies information about Google App Engine versions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object obj)
java.util.Set<java.lang.String>
getApiVersions()
Returns aSet
of all support API versions, ornull
if no timestamp is available.java.lang.String
getRelease()
Returns the logical release name (e.g.java.util.Date
getTimestamp()
Returns theDate
that the build was done, ornull
if no timestamp is available.int
hashCode()
static boolean
isJetty9()
Returns true if Jetty9 server is used.static void
setUseJetty9(boolean b)
Control which Jetty version to use.java.lang.String
toString()
-
-
-
Field Detail
-
UNKNOWN
public static final Version UNKNOWN
-
-
Method Detail
-
isJetty9
public static boolean isJetty9()
Returns true if Jetty9 server is used.
-
setUseJetty9
public static void setUseJetty9(boolean b)
Control which Jetty version to use. This overrides the "use_jetty9_runtime" system property.
-
getRelease
public java.lang.String getRelease()
Returns the logical release name (e.g. 1.0.0), ornull
if no release information is available.
-
getTimestamp
public java.util.Date getTimestamp()
Returns theDate
that the build was done, ornull
if no timestamp is available.
-
getApiVersions
public java.util.Set<java.lang.String> getApiVersions()
Returns aSet
of all support API versions, ornull
if no timestamp is available.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-