Package com.evolveum.midpoint.task.api
Interface SimulationTransaction
-
- All Known Implementing Classes:
SimulationTransactionImpl
public interface SimulationTransaction
Live representation of a simulation transaction. Thread safety: Instances are to be used in multiple threads (worker tasks), so they must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
commit(OperationResult result)
TODOdefault @NotNull String
getResultOid()
@NotNull SimulationResult
getSimulationResult()
@NotNull String
getTransactionId()
void
open(OperationResult result)
TODOvoid
writeSimulationData(@NotNull SimulationData data, @NotNull Task task, @NotNull OperationResult result)
Adds a chunk of data to this transaction.
-
-
-
Method Detail
-
writeSimulationData
void writeSimulationData(@NotNull @NotNull SimulationData data, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
Adds a chunk of data to this transaction. We intentionally do not define what that "chunk" is, because we don't have appropriate vocabulary here - to talk about LensContext and so on.
-
getSimulationResult
@NotNull @NotNull SimulationResult getSimulationResult()
-
getResultOid
@NotNull default @NotNull String getResultOid()
-
getTransactionId
@NotNull @NotNull String getTransactionId()
-
open
void open(OperationResult result)
TODO
-
commit
void commit(OperationResult result)
TODO
-
-