Search Results for

    Show / Hide Table of Contents
    View Source

    Class PackageMigrationPlan

    Base class for package migration plans

    Inheritance
    System.Object
    MigrationPlan
    Namespace: Umbraco.Cms.Core.Packaging
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class PackageMigrationPlan : MigrationPlan, IDiscoverable

    Constructors

    View Source

    PackageMigrationPlan(String)

    Creates a package migration plan

    Declaration
    protected PackageMigrationPlan(string packageName)
    Parameters
    Type Name Description
    System.String packageName

    The name of the package. If the package has a package.manifest these must match.

    View Source

    PackageMigrationPlan(String, String)

    Create a plan for a Package Name

    Declaration
    protected PackageMigrationPlan(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.

    Properties

    View Source

    IgnoreCurrentState

    Inform the plan executor to ignore all saved package state and run the migration from initial state to it's end state.

    Declaration
    public override bool IgnoreCurrentState { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    PackageName

    Returns the Package Name for this plan

    Declaration
    public string PackageName { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    DefinePlan()

    Declaration
    protected abstract void DefinePlan()
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PackageMigrationPlan(String)
      • PackageMigrationPlan(String, String)
    • Properties
      • IgnoreCurrentState
      • PackageName
    • Methods
      • DefinePlan()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX