Package org.openjdk.jmh.util
Class Version
- java.lang.Object
-
- org.openjdk.jmh.util.Version
-
public class Version extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static int
UPDATE_INTERVAL
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getPlainVersion()
static java.lang.String
getVersion()
private static void
printVersion(java.io.PrintWriter pw)
-
-
-
Field Detail
-
UPDATE_INTERVAL
private static final int UPDATE_INTERVAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion()
- Returns:
- the version, build date and update hint.
-
getPlainVersion
public static java.lang.String getPlainVersion()
- Returns:
- only version, e.g. "1.19", or "-" if the version cannot be determined.
-
printVersion
private static void printVersion(java.io.PrintWriter pw)
-
-