Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

@NotNull String getDetails() - Provides a string representation of all the version like information you might want to display in the full version or log preamble. The format of this string should be key value pairs separated by colons each on their own line. The basic version should be included in this output but the name should not.  For example:

Code Block
languagetext
Version: 1.15.0
Repository: github.com/apache/geode
Revision: f5584205b0ee93904a5f2a9921459f99a1caa515

...

Example output from gfsh:

Code Block
languagetext
$ gfsh version
2.4.1

$ gfsh
    _________________________     __
   / _____/ ______/ ______/ /____/ /
  / /  __/ /___  /_____  / _____  / 
 / /__/ / ____/  _____/ / /    / /  
/______/_/      /______/_/    /_/    2.4.1

Monitor and Manage The Best IMDG
gfsh>

...

Example output from gfsh:

Code Block
languagetext
$ gfsh version --full
-----------------------------------------------------
Apache Geode
-----------------------------------------------------
Version: 1.15.0
Repository: github.com/apache/geode
Revision: f5584205b0ee93904a5f2a9921459f99a1caa515

-----------------------------------------------------
The Best IMDG
-----------------------------------------------------
Version: 2.4.1
Something-Important: 42

-----------------------------------------------------
Apache Spark for Geode
-----------------------------------------------------
Version: 1.2
Spark-Version: 3.2.0

...