Package org.apache.zookeeper
Class Version
java.lang.Object
org.apache.zookeeper.Version
- All Implemented Interfaces:
Info
-
Field Summary
Fields inherited from interface org.apache.zookeeper.version.Info
BUILD_DATE, MAJOR, MICRO, MINOR, QUALIFIER, REVISION, REVISION_HASH
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getRevision
Deprecated. -
getRevisionHash
-
getBuildDate
-
getVersion
-
getVersionRevision
-
getFullVersion
-
printUsage
public static void printUsage() -
main
Prints the current version, revision and build date to the standard out.- Parameters:
args
-- --short - prints a short version string "1.2.3"
- --revision - prints a short version string with the Git repository revision "1.2.3-${revision_hash}"
- --full - prints the revision and the build date
-