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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
close(OperationResult result)
Closes the simulation result.@NotNull String
getResultOid()
OID of theSimulationResultType
object.@NotNull SimulationDefinitionType
getSimulationDefinition()
Returns the definition for the current simulation.SimulationTransaction
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 Detail
-
getResultOid
@NotNull @NotNull String getResultOid()
OID of theSimulationResultType
object.
-
getSimulationDefinition
@NotNull @NotNull SimulationDefinitionType getSimulationDefinition()
Returns the definition for the current simulation.
-
isEventMarkEnabled
boolean isEventMarkEnabled(@NotNull @NotNull MarkType mark)
Is this particular event mark enabled for the current simulation?
-
getTransaction
SimulationTransaction getTransaction(String transactionId)
TODO
-
openTransaction
default SimulationTransaction openTransaction(String transactionId, OperationResult result)
-
close
void close(OperationResult result) throws ObjectNotFoundException
Closes the simulation result. No "processed object" records should be added afterwards.- Throws:
ObjectNotFoundException
-
-