API Reference
Class
AdMigrationPlanJsonStore
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:
AdMigrationPlanDeserializes and rebuilds a migration plan from JSON.
Parameters
- json System.String
- Versioned migration plan JSON.
Returns
Rebuilt migration plan.
public Void ExportPlan(AdMigrationPlan plan, String path) #Returns:
VoidExports a migration plan to a JSON file.
Parameters
- plan ADPlayground.Migrations.Core.AdMigrationPlan
- Migration plan to export.
- path System.String
- Destination JSON file path.
public AdMigrationPlan ImportPlan(String path) #Returns:
AdMigrationPlanImports and rebuilds a migration plan from a JSON file.
Parameters
- path System.String
- Source JSON file path.
Returns
Rebuilt migration plan.
public String SerializePlan(AdMigrationPlan plan) #Returns:
StringSerializes a migration plan to JSON.
Parameters
- plan ADPlayground.Migrations.Core.AdMigrationPlan
- Migration plan to serialize.
Returns
Versioned migration plan JSON.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object