Package com.evolveum.midpoint.task.api
Interface SimulationResult
-
- All Known Implementing Classes:
SimulationResultImpl
public interface SimulationResultLive 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 voidclose(OperationResult result)Closes the simulation result.@NotNull StringgetResultOid()OID of theSimulationResultTypeobject.@NotNull SimulationDefinitionTypegetSimulationDefinition()Returns the definition for the current simulation.SimulationTransactiongetTransaction(String transactionId)TODObooleanisEventMarkEnabled(@NotNull MarkType mark)Is this particular event mark enabled for the current simulation?default SimulationTransactionopenTransaction(String transactionId, OperationResult result)
-
-
-
Method Detail
-
getResultOid
@NotNull @NotNull String getResultOid()
OID of theSimulationResultTypeobject.
-
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
-
-