Index

A B C D E F G I J M N P R T U V _ 
All Classes and Interfaces|All Packages|Serialized Form

A

addFunctions(Project, Consumer<Problem>) - Method in class nz.org.riskscape.jython.Plugin
 
apply(List<Object>) - Method in class nz.org.riskscape.jython.JythonRiskscapeFunctionDelegate
 

B

build(String, Project, BoundParameters) - Method in class nz.org.riskscape.jython.JythonFunctionFramework
 
buildFunction(String, Resource) - Method in class nz.org.riskscape.jython.JythonFactory
Builds a Python function from the given Resource.
buildFunction(Resource, FunctionMetadata) - Method in class nz.org.riskscape.jython.JythonFactory
Builds a Python function from the given Resource with pre-defined function metadata.

C

canBuild(Project, Map<String, List<?>>) - Method in class nz.org.riskscape.jython.JythonFunctionFramework
 
close() - Method in class nz.org.riskscape.jython.JythonFactory
 
convertFromPython(PyObject, Type) - Method in interface nz.org.riskscape.jython.JavaJythonHelpers
Performs a Riskscape Type aware conversion of a python object to a java object.
couldNotConvertToType() - Method in interface nz.org.riskscape.jython.JythonProblems
 
couldNotCreateThing(Object, String) - Method in interface nz.org.riskscape.jython.JythonProblems
 
createType(Resource) - Method in class nz.org.riskscape.jython.JythonFactory
Create an asset type from jython.

D

DEFAULT_CATEGORY - Static variable in class nz.org.riskscape.jython.JythonFactory
IdentifiedFunction.Category that will apply to jython functions that have not specifically set a category.
descriptionFromPySyntaxError(PySyntaxError) - Static method in exception nz.org.riskscape.jython.JythonScriptException
 

E

EXCEPTION - Enum constant in enum class nz.org.riskscape.jython.ProblemCodes
 
EXCEPTION_NO_CAUSE - Enum constant in enum class nz.org.riskscape.jython.ProblemCodes
 
executionError(String) - Method in interface nz.org.riskscape.jython.JythonRiskscapeFunctionDelegate.LocalProblems
 
extractType(String, PyObject, String, String) - Method in class nz.org.riskscape.jython.JythonFactory
Looks for either prefixTYPE or prefixTYPE_ID from globals and attempts to convert either in to an IdentifiedType.

F

findItem(PyObject, String, Class<T>, Object, String) - Method in class nz.org.riskscape.jython.JythonFactory
 
findRequiredItem(PyObject, String, Class<T>, Object, String) - Method in class nz.org.riskscape.jython.JythonFactory
 

G

get() - Static method in interface nz.org.riskscape.jython.JythonProblems
 
getArguments() - Method in class nz.org.riskscape.jython.JythonRiskscapeFunctionDelegate
 
getCall() - Method in class nz.org.riskscape.jython.NestedFunction
 
getCauseProblem() - Method in exception nz.org.riskscape.jython.JythonScriptException
 
getFunctionID(Resource) - Method in class nz.org.riskscape.jython.JythonFactory
Searches through the given resource for an ID declaration - allows an ID to be extracted without having to parse and (and potentially execute parts of) the script.
getId() - Method in class nz.org.riskscape.jython.JythonFunctionFramework
 
getParameterSet() - Method in class nz.org.riskscape.jython.JythonFunctionFramework
 
getProblem() - Method in exception nz.org.riskscape.jython.JythonScriptException
 
getReturnType() - Method in class nz.org.riskscape.jython.JythonRiskscapeFunctionDelegate
 
getSource() - Method in exception nz.org.riskscape.jython.JythonScriptException
 
getTypeOfThing() - Method in exception nz.org.riskscape.jython.JythonScriptException
 

I

identified() - Method in class nz.org.riskscape.jython.JythonRealizableFunction
 
importErrorTip() - Method in interface nz.org.riskscape.jython.JythonProblems
 
initializeEngine(Engine) - Method in class nz.org.riskscape.jython.Plugin
 
initializeProject(Project, Engine) - Method in class nz.org.riskscape.jython.Plugin
 

J

JavaJythonHelpers - Interface in nz.org.riskscape.jython
 
JythonFactory - Class in nz.org.riskscape.jython
Creates Riskscape objects from python scripts
JythonFactory(Project) - Constructor for class nz.org.riskscape.jython.JythonFactory
 
JythonFunctionFramework - Class in nz.org.riskscape.jython
 
JythonFunctionFramework() - Constructor for class nz.org.riskscape.jython.JythonFunctionFramework
 
JythonProblems - Interface in nz.org.riskscape.jython
 
JythonRealizableFunction - Class in nz.org.riskscape.jython
Realizes the Jython function against the given arguments.
JythonRealizableFunction(FunctionMetadata, Resource, PyFunction) - Constructor for class nz.org.riskscape.jython.JythonRealizableFunction
 
JythonRiskscapeFunctionDelegate - Class in nz.org.riskscape.jython
 
JythonRiskscapeFunctionDelegate(PyFunction, String, Type, ArgumentList) - Constructor for class nz.org.riskscape.jython.JythonRiskscapeFunctionDelegate
 
JythonRiskscapeFunctionDelegate.LocalProblems - Interface in nz.org.riskscape.jython
 
JythonScriptException - Exception in nz.org.riskscape.jython
 
JythonScriptException(Object, String, Exception) - Constructor for exception nz.org.riskscape.jython.JythonScriptException
 
JythonScriptException(Object, String, Problem) - Constructor for exception nz.org.riskscape.jython.JythonScriptException
 

M

missingConstant(Object, String) - Method in interface nz.org.riskscape.jython.JythonProblems
 
missingFunctionObject() - Method in interface nz.org.riskscape.jython.JythonProblems
 
mustHaveFunction() - Method in interface nz.org.riskscape.jython.JythonProblems
 

N

NestedFunction - Class in nz.org.riskscape.jython
 
NestedFunction(RiskscapeFunction) - Constructor for class nz.org.riskscape.jython.NestedFunction
 
nz.org.riskscape.jython - package nz.org.riskscape.jython
 

P

parameterMissingName() - Method in interface nz.org.riskscape.jython.JythonProblems
 
parameterNoneNotAllowed(String) - Method in interface nz.org.riskscape.jython.JythonProblems
 
Plugin - Class in nz.org.riskscape.jython
 
Plugin(PluginDescriptor) - Constructor for class nz.org.riskscape.jython.Plugin
 
ProblemCodes - Enum Class in nz.org.riskscape.jython
ProblemCodes for jython functions.

R

realize(RealizationContext, FunctionCall, List<Type>) - Method in class nz.org.riskscape.jython.JythonRealizableFunction
 

T

thingWasWrongType(String, Class<?>) - Method in interface nz.org.riskscape.jython.JythonProblems
 
toProblem(PyException) - Static method in exception nz.org.riskscape.jython.JythonScriptException
Converts a Python Exception to a RiskScape Problem that contains the file/line info where the exception occurred (if a traceback is present).
toPyCallable(Class<X>, Class<Y>, Function<X, Y>) - Method in interface nz.org.riskscape.jython.JavaJythonHelpers
 

U

unexpectedType(String, Class<?>, Class<? extends PyObject>) - Method in interface nz.org.riskscape.jython.JythonProblems
 

V

valueOf(String) - Static method in enum class nz.org.riskscape.jython.ProblemCodes
Returns the enum constant of this class with the specified name.
values() - Static method in enum class nz.org.riskscape.jython.ProblemCodes
Returns an array containing the constants of this enum class, in the order they are declared.

_

__call__(PyObject[], String[]) - Method in class nz.org.riskscape.jython.NestedFunction
 
A B C D E F G I J M N P R T U V _ 
All Classes and Interfaces|All Packages|Serialized Form