Class SimulationResultImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.simulation.SimulationResultImpl
-
- All Implemented Interfaces:
SimulationResult
public class SimulationResultImpl extends Object implements SimulationResult
Implementation note: must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Concrete 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.SimulationTransactionImpl
getTransaction(@NotNull String transactionId)
TODOboolean
isEventMarkEnabled(@NotNull MarkType eventMark)
Is this particular event mark enabled for the current simulation?-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.task.api.SimulationResult
openTransaction
-
-
-
-
Method Detail
-
getTransaction
public SimulationTransactionImpl getTransaction(@NotNull @NotNull String transactionId)
Description copied from interface:SimulationResult
TODO- Specified by:
getTransaction
in interfaceSimulationResult
-
close
public void close(OperationResult result) throws ObjectNotFoundException
Description copied from interface:SimulationResult
Closes the simulation result. No "processed object" records should be added afterwards.- Specified by:
close
in interfaceSimulationResult
- Throws:
ObjectNotFoundException
-
getResultOid
@NotNull public @NotNull String getResultOid()
Description copied from interface:SimulationResult
OID of theSimulationResultType
object.- Specified by:
getResultOid
in interfaceSimulationResult
-
getSimulationDefinition
@NotNull public @NotNull SimulationDefinitionType getSimulationDefinition()
Description copied from interface:SimulationResult
Returns the definition for the current simulation.- Specified by:
getSimulationDefinition
in interfaceSimulationResult
-
isEventMarkEnabled
public boolean isEventMarkEnabled(@NotNull @NotNull MarkType eventMark)
Description copied from interface:SimulationResult
Is this particular event mark enabled for the current simulation?- Specified by:
isEventMarkEnabled
in interfaceSimulationResult
-
-