Class OptimizationVersionHelper

java.lang.Object
com.dna.jopt.framework.body.buildinfo.OptimizationVersionHelper

public class OptimizationVersionHelper extends Object
The Class OptimizationVersionHelper.
Since:
Sep 27, 2019
Version:
Sep 27, 2019
Author:
Jens Richter
  • Field Details

    • BUILD_PROP_CORE_FILE

      public static final String 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

      public static Properties readinProps(String keyPrefix, String buldFilePath)
      Reading in props from file.
      Parameters:
      keyPrefix - the key prefix
      buldFilePath - the buld file path
      Returns:
      the properties
    • getCoreVersionProperties

      public Properties getCoreVersionProperties()
      Gets the core version properties.
      Returns:
      the core version properties
    • getVersionString

      public String getVersionString(Properties versionProps, String title)
      Gets the version string.
      Parameters:
      versionProps - the version props
      title - the title
      Returns:
      the version string
    • getCoreVersion

      public String getCoreVersion()
      Gets the core version.
      Returns:
      the core version