Package nz.org.riskscape.jython
Class JythonRiskscapeFunctionDelegate
java.lang.Object
nz.org.riskscape.jython.JythonRiskscapeFunctionDelegate
- All Implemented Interfaces:
Function<List<Object>,
,Object> nz.org.riskscape.engine.function.JavaFunction.Delegate
,JavaJythonHelpers
public class JythonRiskscapeFunctionDelegate
extends Object
implements nz.org.riskscape.engine.function.JavaFunction.Delegate, JavaJythonHelpers
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionJythonRiskscapeFunctionDelegate
(org.python.core.PyFunction function, String id, nz.org.riskscape.engine.types.Type returnType, nz.org.riskscape.engine.function.ArgumentList arguments) -
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.engine.function.ArgumentList
nz.org.riskscape.engine.types.Type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.function.JavaFunction.Delegate
validate
Methods inherited from interface nz.org.riskscape.jython.JavaJythonHelpers
convertFromPython, toPyCallable
-
Constructor Details
-
JythonRiskscapeFunctionDelegate
public JythonRiskscapeFunctionDelegate(org.python.core.PyFunction function, String id, nz.org.riskscape.engine.types.Type returnType, nz.org.riskscape.engine.function.ArgumentList arguments)
-
-
Method Details
-
apply
-
getReturnType
public nz.org.riskscape.engine.types.Type getReturnType() -
getArguments
public nz.org.riskscape.engine.function.ArgumentList getArguments()- Specified by:
getArguments
in interfacenz.org.riskscape.engine.function.JavaFunction.Delegate
-