use of org.opennms.web.rest.v2.bsm.model.meta.FunctionsManager 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