TestimoX

API Reference

Class

AdMigrationPlanJsonStore

Namespace ADPlayground.Migrations.Core
Assembly ADPlayground
Modifiers sealed

Persists AD migration plans as versioned JSON artifacts for repeatable execution and audit review.

Inheritance

  • Object
  • AdMigrationPlanJsonStore

Constructors

public AdMigrationPlanJsonStore() #

Methods

public AdMigrationPlan DeserializePlan(String json) #
Returns: AdMigrationPlan

Deserializes and rebuilds a migration plan from JSON.

Parameters

json System.String requiredposition: 0
Versioned migration plan JSON.

Returns

Rebuilt migration plan.

public Void ExportPlan(AdMigrationPlan plan, String path) #
Returns: Void

Exports a migration plan to a JSON file.

Parameters

plan ADPlayground.Migrations.Core.AdMigrationPlan requiredposition: 0
Migration plan to export.
path System.String requiredposition: 1
Destination JSON file path.
public AdMigrationPlan ImportPlan(String path) #
Returns: AdMigrationPlan

Imports and rebuilds a migration plan from a JSON file.

Parameters

path System.String requiredposition: 0
Source JSON file path.

Returns

Rebuilt migration plan.

public String SerializePlan(AdMigrationPlan plan) #
Returns: String

Serializes a migration plan to JSON.

Parameters

plan ADPlayground.Migrations.Core.AdMigrationPlan requiredposition: 0
Migration plan to serialize.

Returns

Versioned migration plan JSON.