Class Version
java.lang.Object
org.eclipse.lemminx.utils.platform.Version
LemMinX version information
The information is read from git
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the git branch.Returns the first line of the git commit message.Returns the git short commit id.Returns the version number of LemMinX.
-
Field Details
-
MAIN_BRANCH
- See Also:
-
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getVersionNumber
Returns the version number of LemMinX.- Returns:
- the version number of LemMinX
-
getShortCommitId
Returns the git short commit id. eg. 4f2ed3d- Returns:
- the git short commit id
-
getCommitMessage
Returns the first line of the git commit message.- Returns:
- the first line of the git commit message
-
getBranch
Returns the git branch.- Returns:
- the git branch
-