Class SimulationMetricComputer
java.lang.Object
com.evolveum.midpoint.schema.simulation.SimulationMetricComputer
Works with the metric computations at one place.
(Called from various x-Type-Util classes.)
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<SimulationMetricValuesType>
add
(@NotNull List<SimulationMetricValuesType> base, @NotNull List<SimulationMetricValuesType> delta) Computes "base + delta", according to all dimensions that are present.static List<SimulationMetricPartitionType>
computePartitions
(@NotNull SimulationMetricValuesType mv, @NotNull Set<QName> dimensions)
-
Constructor Details
-
SimulationMetricComputer
public SimulationMetricComputer()
-
-
Method Details
-
add
@NotNull public static @NotNull List<SimulationMetricValuesType> add(@NotNull @NotNull List<SimulationMetricValuesType> base, @NotNull @NotNull List<SimulationMetricValuesType> delta) Computes "base + delta", according to all dimensions that are present. We assume these dimensions are "compatible". (TODO) -
computePartitions
public static List<SimulationMetricPartitionType> computePartitions(@NotNull @NotNull SimulationMetricValuesType mv, @NotNull @NotNull Set<QName> dimensions)
-