Package com.exasol.logging
Class VersionCollector
- java.lang.Object
-
- com.exasol.logging.VersionCollector
-
public class VersionCollector extends Object
This class fetches the version of the jar from the metadate in the jar file.
-
-
Constructor Summary
Constructors Constructor Description VersionCollector()Instantiates a new Version collector.VersionCollector(String path)Instantiates a new Version collector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetVersionNumber()Gets version number of the current JAR file.
-
-
-
Constructor Detail
-
VersionCollector
public VersionCollector(String path)
Instantiates a new Version collector.- Parameters:
path- the path
-
VersionCollector
public VersionCollector()
Instantiates a new Version collector.
-
-
Method Detail
-
getVersionNumber
public String getVersionNumber()
Gets version number of the current JAR file.- Returns:
- the version number
-
-