C# Класс Hhogdev.SitecorePackageDeployer.Tasks.InstallPackage

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
InstallPackage ( ) : System
NotifiyPackageComplete ( string status, PostStepDetails postStepDetails ) : void

Writes the notification .json to the install folder

ResetInstallState ( ) : void
Run ( ) : void

Приватные методы

Метод Описание
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

Описание методов

InstallPackage() публичный Метод

public InstallPackage ( ) : System
Результат System

NotifiyPackageComplete() публичный статический Метод

Writes the notification .json to the install folder
public static NotifiyPackageComplete ( string status, PostStepDetails postStepDetails ) : void
status string
postStepDetails Hhogdev.SitecorePackageDeployer.Metadata.PostStepDetails
Результат void

ResetInstallState() публичный статический Метод

public static ResetInstallState ( ) : void
Результат void

Run() публичный Метод

public Run ( ) : void
Результат void