C# 클래스 Hhogdev.SitecorePackageDeployer.Tasks.InstallPackage

파일 보기 프로젝트 열기: HedgehogDevelopment/SitecorePackageDeployer 1 사용 예제들

공개 메소드들

메소드 설명
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