Class InstallerModules
java.lang.Object
org.bgerp.app.dist.inst.InstallerModules
Installer of update modules.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, takes the version from the running appInstallerModules(String version) Constructor for a given app version. -
Method Summary
Modifier and TypeMethodDescriptionRemote module files by module name.protected org.jsoup.nodes.DocumentgetRemoteHtml(String updateUrl) Loads and parses the remote directory listing HTML.voidupdate(boolean force) Update to the latest
-
Constructor Details
-
InstallerModules
Constructor for a given app version.- Parameters:
version- app version for theupdatemodule
-
InstallerModules
public InstallerModules()Default constructor, takes the version from the running app
-
-
Method Details
-
update
public void update(boolean force) Update to the latest- Parameters:
force- compare remote build with locally installed.
-
getRemoteHtml
Loads and parses the remote directory listing HTML.- Parameters:
updateUrl- directory listing URL- Returns:
- parsed document
- Throws:
IOException- on a network or IO error
-
getRemoteFileMap
Remote module files by module name.- Returns:
- remote file map
-