Skip to main content

IStateTransitionHandler

  • Namespace: PPDS.Migration.Import.Handlers
  • Assembly: PPDS.Migration
  • Kind: Interface

Summary

Determines state transitions to apply to records after import.

Members

Methods

CanHandle

bool CanHandle(string entityLogicalName)

Determines whether this handler applies to the given entity.

  • Param entityLogicalName: The entity logical name.

  • Returns: True if this handler handles the entity.

GetTransition

StateTransitionData GetTransition(Entity record, ImportContext context)

Gets the state transition data for a record, or null if no transition is needed.

  • Param record: The record to evaluate.

  • Param context: The import context.

  • Returns: The state transition data, or null.