Class OptimizationVersionHelper
java.lang.Object
com.dna.jopt.framework.body.buildinfo.OptimizationVersionHelper
The Class OptimizationVersionHelper.
- Since:
- Sep 27, 2019
- Version:
- Sep 27, 2019
- Author:
- Jens Richter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the core version.Gets the core version properties.getVersionString(Properties versionProps, String title) Gets the version string.static PropertiesreadinProps(String keyPrefix, String buldFilePath) Reading in props from file.
-
Field Details
-
BUILD_PROP_CORE_FILE
The Constant BUILD_PROP_CORE_FILE.- See Also:
-
-
Constructor Details
-
OptimizationVersionHelper
public OptimizationVersionHelper()Instantiates a new optimization version helper.
-
-
Method Details
-
readinProps
Reading in props from file.- Parameters:
keyPrefix- the key prefixbuldFilePath- the buld file path- Returns:
- the properties
-
getCoreVersionProperties
Gets the core version properties.- Returns:
- the core version properties
-
getVersionString
Gets the version string.- Parameters:
versionProps- the version propstitle- the title- Returns:
- the version string
-
getCoreVersion
Gets the core version.- Returns:
- the core version
-