Interface OperationTransaction

All Superinterfaces:
Serializable

public interface OperationTransaction extends Serializable
Interface describing an operation transaction for the catalog. An operation transaction is added to ingest requests properties by the framework so that downstream plugins can have access to the original metacards. This also provides the framework with the ability to rollback a failed ingest request.
  • Method Details

    • getPreviousStateMetacards

      List<Metacard> getPreviousStateMetacards()
      Returns the list of metacards in the state they existed before the operation was performed.
      Returns:
      List of metacards pre operation
    • getType

      Get the type of the underlying transaction.
      Returns:
      The OperationType enum