Package com.evolveum.midpoint.task.api
Interface SimulationResult
- All Known Implementing Classes:
SimulationResultImpl
public interface SimulationResult
Live representation of a simulation result.
Thread safety: Instances are to be used in multiple threads (worker tasks), so they must be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(OperationResult result) Closes the simulation result.@NotNull String
OID of theSimulationResultType
object.@NotNull SimulationDefinitionType
Returns the definition for the current simulation.getTransaction
(String transactionId) TODOboolean
isEventMarkEnabled
(@NotNull MarkType mark) Is this particular event mark enabled for the current simulation?default SimulationTransaction
openTransaction
(String transactionId, OperationResult result)
-
Method Details
-
getResultOid
OID of theSimulationResultType
object. -
getSimulationDefinition
Returns the definition for the current simulation. -
isEventMarkEnabled
Is this particular event mark enabled for the current simulation? -
getTransaction
TODO -
openTransaction
-
close
Closes the simulation result. No "processed object" records should be added afterwards.- Throws:
ObjectNotFoundException
-