C# Class Hhogdev.SitecorePackageDeployer.Tasks.InstallPackage

Afficher le fichier Open project: HedgehogDevelopment/SitecorePackageDeployer Class Usage Examples

Méthodes publiques

Méthode Description
InstallPackage ( ) : System
NotifiyPackageComplete ( string status, PostStepDetails postStepDetails ) : void

Writes the notification .json to the install folder

ResetInstallState ( ) : void
Run ( ) : void

Private Methods

Méthode Description
ExecutePostSteps ( Hhogdev.SitecorePackageDeployer.Logging.InstallLogger installLogger, PostStepDetails postStepDetails ) : void

Executes the post install steps

FindAndUpdateChangedConfigs ( string installPackageName ) : void

Locates changed configs installed by the package installer

GetInstallerState ( ) : InstallerState

Gets the current install state

GetPackageSource ( ) : string
InstallPackages ( ) : void

Installs the packages found in the package source folder.

LoadSettings ( ) : void
RestartSitecoreServer ( ) : void

Restarts the web server by making a request to the webroot. The request has a short timeout and is expected to fail. The purpose is to initiate a request to IIS to restart the AppPool. The Url is determined by the Sitecore API or an optional config parameter.

RunPostStepsAtStartup ( string updatePackageFilename, string historyPath, PostStepDetails details ) : void

Creates a file that causes post install steps to be executed at startup

SaveInstallationMessages ( string installationHistoryRoot, List logMessages ) : void

Writes the log messages to the message log

SetInstallerState ( InstallerState installState ) : void

Method Details

InstallPackage() public méthode

public InstallPackage ( ) : System
Résultat System

NotifiyPackageComplete() public static méthode

Writes the notification .json to the install folder
public static NotifiyPackageComplete ( string status, PostStepDetails postStepDetails ) : void
status string
postStepDetails Hhogdev.SitecorePackageDeployer.Metadata.PostStepDetails
Résultat void

ResetInstallState() public static méthode

public static ResetInstallState ( ) : void
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void