Package com.basiscomponents
Class VersionInfo
- java.lang.Object
-
- com.basiscomponents.VersionInfo
-
public class VersionInfo extends Object
Provides static methods and member variables to retrieve the BBj build information and this project's build information(time,date, etc...).
-
-
Field Summary
Fields Modifier and Type Field Description static String
BBJ_BUILD_ID
static String
BBJ_BUILD_NAME
static String
BBJ_BUILD_REVISION
static String
BBJ_BUILD_TIMESTAMP_STRING
static long
COMPONENTS_BUILD_TIME_MILLIS
static Timestamp
COMPONENTS_BUILD_TIMESTAMP
static String
COMPONENTS_BUILD_TIMESTAMP_STRING
-
Constructor Summary
Constructors Constructor Description VersionInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getBBjBuildID()
Returns the ID of the BBj Build which has been used to build this project's jar.static String
getBBjBuildName()
Returns the name of the BBj Version which has been used to build this project's jar.static String
getBBjBuildRevision()
Returns the Revision of the BBj Build which has been used to build this project's jar.static String
getBBjBuildTimestampString()
Returns the timestamp of the BBj Build which has been used to build this project's jar as String object.static String
getBuildInfoString()
Returns a String object with all the build information.static long
getComponentsBuildTimeMillis()
Returns this project's build time in milliseconds as String object.static Timestamp
getComponentsBuildTimestamp()
Returns this project's build Timestamp.static String
getComponentsBuildTimestampString()
Returns this project's build Timestamp as String object.
-
-
-
Field Detail
-
BBJ_BUILD_ID
public static final String BBJ_BUILD_ID
- See Also:
- Constant Field Values
-
BBJ_BUILD_NAME
public static final String BBJ_BUILD_NAME
- See Also:
- Constant Field Values
-
BBJ_BUILD_REVISION
public static final String BBJ_BUILD_REVISION
- See Also:
- Constant Field Values
-
BBJ_BUILD_TIMESTAMP_STRING
public static final String BBJ_BUILD_TIMESTAMP_STRING
- See Also:
- Constant Field Values
-
COMPONENTS_BUILD_TIME_MILLIS
public static final long COMPONENTS_BUILD_TIME_MILLIS
-
COMPONENTS_BUILD_TIMESTAMP
public static final Timestamp COMPONENTS_BUILD_TIMESTAMP
-
COMPONENTS_BUILD_TIMESTAMP_STRING
public static final String COMPONENTS_BUILD_TIMESTAMP_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBBjBuildID
public static String getBBjBuildID()
Returns the ID of the BBj Build which has been used to build this project's jar.- Returns:
- bbjBuildID The BBj build's ID
-
getBBjBuildName
public static String getBBjBuildName()
Returns the name of the BBj Version which has been used to build this project's jar.- Returns:
- name The BBj build's name
-
getBBjBuildRevision
public static String getBBjBuildRevision()
Returns the Revision of the BBj Build which has been used to build this project's jar.- Returns:
- revision The BBj build's revision.
-
getBBjBuildTimestampString
public static String getBBjBuildTimestampString()
Returns the timestamp of the BBj Build which has been used to build this project's jar as String object.- Returns:
- timestamp The BBj build's timestamp.
-
getComponentsBuildTimeMillis
public static long getComponentsBuildTimeMillis()
Returns this project's build time in milliseconds as String object.- Returns:
- buildTime This project's build time in milliseconds.
-
getComponentsBuildTimestamp
public static Timestamp getComponentsBuildTimestamp()
Returns this project's build Timestamp.- Returns:
- timestamp This project's build timestamp.
-
getComponentsBuildTimestampString
public static String getComponentsBuildTimestampString()
Returns this project's build Timestamp as String object.- Returns:
- timestamp This project's build timestamp.
-
getBuildInfoString
public static String getBuildInfoString()
Returns a String object with all the build information.- Returns:
- buildInfo A String with the build information.
-
-