org.opencds.cqf.cql.data.SystemExternalFunctionProvider Maven / Gradle / Ivy
package org.opencds.cqf.cql.data;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
public class SystemExternalFunctionProvider implements ExternalFunctionProvider {
private List staticFunctions;
public SystemExternalFunctionProvider(List staticFunctions) {
this.staticFunctions = staticFunctions;
}
// TODO: Support adding more functions to an existing provider object.
@Override
public Object evaluate(String staticFunctionName, List