Package ddf.catalog.operation
Interface OperationTransaction
- All Superinterfaces:
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumOperation transaction type -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of metacards in the state they existed before the operation was performed.getType()Get the type of the underlying transaction.
-
Method Details
-
getPreviousStateMetacards
Returns the list of metacards in the state they existed before the operation was performed.- Returns:
- List of metacards pre operation
-
getType
OperationTransaction.OperationType getType()Get the type of the underlying transaction.- Returns:
- The OperationType enum
-