use of org.opennms.netmgt.bsm.service.model.functions.reduce.ReductionFunction in project opennms by OpenNMS.
the class BsmTestUtils method transform.
public static ReduceFunctionDTO transform(AbstractReductionFunctionEntity input) {
Objects.requireNonNull(input);
ReductionFunction reductionFunction = new ReduceFunctionMapper().toServiceFunction(input);
return new FunctionsManager().getReduceFunctionDTO(reductionFunction);
}
Aggregations