Search Results for

    Show / Hide Table of Contents

    Class PackageMigrationPlan

    Base class for package migration plans

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Packaging
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class PackageMigrationPlan : MigrationPlan

    Constructors

    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.

    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

    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

    PackageName

    Returns the Package Name for this plan

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

    Methods

    DefinePlan()

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