Class Version

java.lang.Object
org.eclipse.lemminx.utils.platform.Version

public class Version extends Object
LemMinX version information The information is read from git
  • Field Details

  • Constructor Details

    • Version

      public Version()
  • Method Details

    • getVersionNumber

      public String getVersionNumber()
      Returns the version number of LemMinX.
      Returns:
      the version number of LemMinX
    • getShortCommitId

      public String getShortCommitId()
      Returns the git short commit id. eg. 4f2ed3d
      Returns:
      the git short commit id
    • getCommitMessage

      public String getCommitMessage()
      Returns the first line of the git commit message.
      Returns:
      the first line of the git commit message
    • getBranch

      public String getBranch()
      Returns the git branch.
      Returns:
      the git branch