Package com.tbg.wms.cli.gui
Class GuidedUpdateService
java.lang.Object
com.tbg.wms.cli.gui.GuidedUpdateService
Downloads published installer assets for verified guided upgrades.
The service intentionally does not launch installers directly or decide update eligibility. It only handles transport and integrity prerequisites, including cleanup of partial or failed downloads so later update attempts start from a known-good state.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadInstaller(Class<?> anchorType, ReleaseCheckService.ReleaseInfo releaseInfo) downloadInstaller(Class<?> anchorType, UpdateActionService.InstallTarget installTarget)
-
Constructor Details
-
GuidedUpdateService
public GuidedUpdateService()
-
-
Method Details
-
downloadInstaller
public Path downloadInstaller(Class<?> anchorType, ReleaseCheckService.ReleaseInfo releaseInfo) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
downloadInstaller
public Path downloadInstaller(Class<?> anchorType, UpdateActionService.InstallTarget installTarget) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-