Skip to content

Commit

Permalink
#139 - print a one line Neodymium version information at runtime
Browse files Browse the repository at this point in the history
added JavaDoc
  • Loading branch information
Marcel Pfotenhauer committed Sep 30, 2020
1 parent 064cecf commit d2d9947
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/xceptance/neodymium/util/Neodymium.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@ public static boolean isSite(String... sites)
return false;
}

/**
* Returns the version of the currently used Neodymium library.
*
* @return build version of Neodymium library
*/
public static String getNeodymiumVersion()
{
final String buildVersion = getContext().getClass().getPackage().getImplementationVersion();
Expand Down

0 comments on commit d2d9947

Please sign in to comment.