C# Class Rebel.Framework.Tasks.ProviderInstallTask

Abstract task for defining an installation task
Inheritance: AbstractTask
Show file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
Execute ( TaskExecutionContext context ) : void

Executes this task instance.

GetInstalledVersion ( ) : int

Returns the currently installed version

InstallOrUpgrade ( ) : void

Performs the install or upgrade

Protected Methods

Method Description
ProviderInstallTask ( IFrameworkContext context ) : System

Method Details

Execute() public method

Executes this task instance.
public Execute ( TaskExecutionContext context ) : void
context TaskExecutionContext
return void

GetInstalledVersion() public abstract method

Returns the currently installed version
public abstract GetInstalledVersion ( ) : int
return int

InstallOrUpgrade() public abstract method

Performs the install or upgrade
public abstract InstallOrUpgrade ( ) : void
return void

ProviderInstallTask() protected method

protected ProviderInstallTask ( IFrameworkContext context ) : System
context IFrameworkContext
return System