C# Class OpenIDE.Core.Packaging.Installer

Exibir arquivo Open project: continuoustests/OpenIDE Class Usage Examples

Public Methods

Method Description
Install ( string packageToken, string acceptedVersions ) : bool
Install ( string packageToken ) : void
Installer ( string token, string sourcePrioritization, Action dispatch, PluginLocator locator ) : System
Remove ( string source ) : void
Update ( string packageToken ) : void
UseGlobalProfiles ( bool useGlobal ) : void

Private Methods

Method Description
backupDirectoryTo ( string source, string destinationRoot ) : void
backupScripts ( string command, string source ) : string
copyPluginDirectories ( string source, string destination ) : void
getInstallPackage ( string source, string tempPath ) : Package
getInstallPath ( Package package, ProfileLocator profiles, string activeProfile ) : string
getLanguageInstallPath ( Package package ) : string
getLanguageInstallPath ( Package package, bool forcelocal ) : string
getPackage ( string name ) : Package
getPackageScript ( string path, string script ) : string
getPackages ( bool all ) : IEnumerable
install ( string packageToken, string acceptedVersions ) : bool
installDependencies ( List dependencies ) : bool
installMetaPackage ( PackageFetcher source ) : void
installPackage ( string source, Package package, string tempPath, string installPath, string activeProfile ) : void
isMetaPackage ( string source ) : bool
matchPackage ( string path, string name ) : bool
prepareForAction ( string source, string>.Func destinatinoPathLocator, bool>.Func actionHandler ) : bool
printConflictingPackage ( string name, Package package, IEnumerable matches ) : void
printUnexistingUpdate ( string name, Package package ) : void
printUpdateFailed ( string id ) : void
removePackage ( Package package, string path, bool isGlobal ) : void
restoreScripts ( string command, string source, string backupLocation ) : void
runInstallVerify ( string tempPath, string installPath ) : bool
runProcess ( string command, string arguments ) : bool
runUpgrade ( string tempPath, string installPath, string argument ) : bool
update ( string source, Package existingPackage, ActionParameters args ) : void

Method Details

Install() public method

public Install ( string packageToken, string acceptedVersions ) : bool
packageToken string
acceptedVersions string
return bool

Install() public method

public Install ( string packageToken ) : void
packageToken string
return void

Installer() public method

public Installer ( string token, string sourcePrioritization, Action dispatch, PluginLocator locator ) : System
token string
sourcePrioritization string
dispatch Action
locator OpenIDE.Core.Language.PluginLocator
return System

Remove() public method

public Remove ( string source ) : void
source string
return void

Update() public method

public Update ( string packageToken ) : void
packageToken string
return void

UseGlobalProfiles() public method

public UseGlobalProfiles ( bool useGlobal ) : void
useGlobal bool
return void