Class ProductVersion

java.lang.Object
com.e1c.g5.v8.dt.provisioning.ProductVersion

public final class ProductVersion extends Object
EDT version. Has properties to indicate whether version is currect or latest
  • Constructor Details

    • ProductVersion

      public ProductVersion(String version)
  • Method Details

    • isCurrent

      public boolean isCurrent()
      Shows whether version is the current installed version
      Returns:
      true if the version is the current installed version, false otherwise
    • setCurrent

      public void setCurrent(boolean current)
      Sets current to indicate if the version is the current installed version
      Parameters:
      current - the value to set to indicate if the version is the current installed version
    • isLatest

      public boolean isLatest()
      Shows whether version is the latest available version
      Returns:
      true if the version is the latest available version, false otherwise
    • setLatest

      public void setLatest(boolean latest)
      Sets latest to indicate if the version is the latest available version
      Parameters:
      latest - the value to set to indicate if the version is the latest available version
    • getVersion

      public String getVersion()
      Gets version value
      Returns:
      the version value, cannot be null