Class SimulationMetricValuesTypeUtil
java.lang.Object
com.evolveum.midpoint.schema.util.SimulationMetricValuesTypeUtil
Util for
SimulationMetricValuesType
.
More complex computations are delegated to SimulationMetricComputer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<SimulationMetricPartitionType>
findOrComputePartitions
(@NotNull SimulationMetricValuesType mv, @NotNull Set<QName> dimensions) static @NotNull BigDecimal
getValue
(@Nullable SimulationMetricValuesType mv) static boolean
matches
(@NotNull SimulationMetricValuesType value, @NotNull SimulationMetricReference ref) static @NotNull SimulationMetricValuesType
rescale
(@NotNull SimulationMetricValuesType originalMetric, @NotNull Set<QName> dimensions)
-
Constructor Details
-
SimulationMetricValuesTypeUtil
public SimulationMetricValuesTypeUtil()
-
-
Method Details
-
matches
public static boolean matches(@NotNull @NotNull SimulationMetricValuesType value, @NotNull @NotNull SimulationMetricReference ref) -
getValue
@NotNull public static @NotNull BigDecimal getValue(@Nullable @Nullable SimulationMetricValuesType mv) -
findOrComputePartitions
@NotNull public static @NotNull List<SimulationMetricPartitionType> findOrComputePartitions(@NotNull @NotNull SimulationMetricValuesType mv, @NotNull @NotNull Set<QName> dimensions) -
rescale
@NotNull public static @NotNull SimulationMetricValuesType rescale(@NotNull @NotNull SimulationMetricValuesType originalMetric, @NotNull @NotNull Set<QName> dimensions)
-