Class InstalledModule

java.lang.Object
org.bgerp.app.dist.inst.InstalledModule

public class InstalledModule extends Object
Installed module's properties, stored in version.properties files in application JAR.
  • Field Details

  • Constructor Details

    • InstalledModule

      public InstalledModule(ConfigMap properties)
  • Method Details

    • getModuleName

      public String getModuleName()
    • getVersion

      public String getVersion()
    • getBuildNumber

      public String getBuildNumber()
    • getChangeId

      public String getChangeId()
    • getBuildTime

      public String getBuildTime()
    • get

      public static final InstalledModule get(String module)
      Gets module version info.
      Parameters:
      module - module name, MODULE_UPDATE or MODULE_UPDATE_LIB.
      Returns:
    • getInstalled

      public static final List<InstalledModule> getInstalled()
      Returns:
      version infos of currently existing in the running app modules.