com.google.appengine.tools.info
Class Version
- java.lang.Object
-
- com.google.appengine.tools.info.Version
-
public class Version extends java.lang.ObjectVersionsupplies information about Google App Engine versions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)java.util.Set<java.lang.String>getApiVersions()Returns aSetof all support API versions, ornullif no timestamp is available.java.lang.StringgetRelease()Returns the logical release name (e.g.java.util.DategetTimestamp()Returns theDatethat the build was done, ornullif no timestamp is available.inthashCode()static booleanisJetty9()Returns true if Jetty9 server is used.static voidsetUseJetty9(boolean b)Control which Jetty version to use.java.lang.StringtoString()
-
-
-
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), ornullif no release information is available.
-
getTimestamp
public java.util.Date getTimestamp()
Returns theDatethat the build was done, ornullif no timestamp is available.
-
getApiVersions
public java.util.Set<java.lang.String> getApiVersions()
Returns aSetof all support API versions, ornullif no timestamp is available.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-