Interface CliProvider
public interface CliProvider
Service provider interface to expose CLI capabilities to API layer.
-
Method Summary
Modifier and TypeMethodDescriptiongetApplyRevertCommand(Path installationPath, Path candidatePath, boolean noConflictsOnly) generates command used to apply a revert candidate incandidatePathintoinstallationPathgetApplyUpdateCommand(Path installationPath, Path candidatePath, boolean noConflictsOnly) generates command used to apply an update candidate incandidatePathintoinstallationPathgetScriptName(org.wildfly.installationmanager.spi.OsShell shell) returns the script name used to run Prospero.
-
Method Details
-
getScriptName
returns the script name used to run Prospero. The returned script is OS-specific.- Parameters:
shell-- Returns:
-
getApplyUpdateCommand
generates command used to apply an update candidate incandidatePathintoinstallationPath- Parameters:
installationPath-candidatePath-noConflictsOnly- - whether to append the no-conflicts-only flag- Returns:
-
getApplyRevertCommand
generates command used to apply a revert candidate incandidatePathintoinstallationPath- Parameters:
installationPath-candidatePath-noConflictsOnly- - whether to append the no-conflicts-only flag- Returns:
-