Interface CliProvider


  • public interface CliProvider
    Service provider interface to expose CLI capabilities to API layer.
    • Method Detail

      • getScriptName

        String getScriptName()
        returns the script name used to run Prospero. The returned script is OS-specific.
        Returns:
      • getApplyUpdateCommand

        String getApplyUpdateCommand​(Path installationPath,
                                     Path candidatePath)
        generates command used to apply an update candidate in candidatePath into installationPath
        Parameters:
        installationPath -
        candidatePath -
        Returns:
      • getApplyRevertCommand

        String getApplyRevertCommand​(Path installationPath,
                                     Path candidatePath)
        generates command used to apply a revert candidate in candidatePath into installationPath
        Parameters:
        installationPath -
        candidatePath -
        Returns: