Class AutomaticPackageMigrationPlan
Represents a package migration plan that automatically imports an embedded package data manifest.
Namespace: Umbraco.Cms.Infrastructure.Packaging
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class AutomaticPackageMigrationPlan : PackageMigrationPlan, IDiscoverable
Constructors
View SourceAutomaticPackageMigrationPlan(String)
Initializes a new instance of the AutomaticPackageMigrationPlan class.
Declaration
protected AutomaticPackageMigrationPlan(string packageName)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | The package name that the plan is for. If the package has a package.manifest these must match. |
AutomaticPackageMigrationPlan(String, String)
Initializes a new instance of the AutomaticPackageMigrationPlan class.
Declaration
protected AutomaticPackageMigrationPlan(string packageName, string planName)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | The package name that the plan is for. If the package has a package.manifest these must match. |
System.String | planName | The plan name for the package. This should be the same name as the package name, if there is only one plan in the package. |
AutomaticPackageMigrationPlan(String, String, String)
Initializes a new instance of the AutomaticPackageMigrationPlan class.
Declaration
protected AutomaticPackageMigrationPlan(string packageId, string packageName, string planName)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageId | The package identifier that the plan is for. If the package has a package.manifest these must match. |
System.String | packageName | The package name that the plan is for. If the package has a package.manifest these must match. |
System.String | planName | The plan name for the package. This should be the same name as the package name, if there is only one plan in the package. |
Methods
View SourceDefinePlan()
Defines the plan.
Declaration
protected sealed override void DefinePlan()