Package com.orchestranetworks.schema.trigger

# Interface AfterDuplicateInstanceContext

All Superinterfaces:
  `InstanceTriggerExecutionContext`, `TriggerExecutionContext`

public interface AfterDuplicateInstanceContext extends InstanceTriggerExecutionContext
Provides an execution context for handling post-dataset duplication operations.

Since:
  6.0.0
See Also:
  - `InstanceTrigger.handleAfterDuplicate(AfterDuplicateInstanceContext)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Adaptation`
  `getDataset()`
  Returns the dataset created after the duplication.
  `Adaptation`
  `getDatasetToDuplicate()`
  Returns the dataset that has been duplicated.
  `ProcedureContext`
  `getProcedureContext()`
  Returns the current procedure context.

  ### Methods inherited from interface com.orchestranetworks.schema.trigger.InstanceTriggerExecutionContext

  `getAdaptationHome`

  ### Methods inherited from interface com.orchestranetworks.schema.trigger.TriggerExecutionContext

  `getSession`

- ## Method Details

  - ### getDataset

    Adaptation getDataset()
    Returns the dataset created after the duplication.

  - ### getDatasetToDuplicate

    Adaptation getDatasetToDuplicate()
    Returns the dataset that has been duplicated.

  - ### getProcedureContext

    ProcedureContext getProcedureContext()
    Returns the current procedure context. This context provides the opportunity to perform additional updates in the current dataspace.