Package com.tbg.wms.cli.gui
Class InstallMaintenanceService
java.lang.Object
com.tbg.wms.cli.gui.InstallMaintenanceService
Locates and launches packaged install-maintenance scripts.
This service keeps script discovery and detached process launch behavior out of the GUI shell so install/uninstall support remains testable and easier to adjust for packaging changes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindInstallScript(Class<?> anchorType) findUninstallScript(Class<?> anchorType) voidlaunchInstaller(Path scriptPath, Path installerPath) voidlaunchUninstall(Path scriptPath, boolean wipeInstallRoot)
-
Constructor Details
-
InstallMaintenanceService
public InstallMaintenanceService()
-
-
Method Details
-
findInstallScript
-
findUninstallScript
-
launchUninstall
- Throws:
IOException
-
launchInstaller
- Throws:
IOException
-