Interface CliProvider
-
public interface CliProviderService provider interface to expose CLI capabilities to API layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApplyRevertCommand(Path installationPath, Path candidatePath)generates command used to apply a revert candidate incandidatePathintoinstallationPathStringgetApplyUpdateCommand(Path installationPath, Path candidatePath)generates command used to apply an update candidate incandidatePathintoinstallationPathStringgetScriptName(org.wildfly.installationmanager.spi.OsShell shell)returns the script name used to run Prospero.
-
-
-
Method Detail
-
getScriptName
String getScriptName(org.wildfly.installationmanager.spi.OsShell shell)
returns the script name used to run Prospero. The returned script is OS-specific.- Parameters:
shell-- Returns:
-
getApplyUpdateCommand
String getApplyUpdateCommand(Path installationPath, Path candidatePath)
generates command used to apply an update candidate incandidatePathintoinstallationPath- Parameters:
installationPath-candidatePath-- Returns:
-
-