Class CsvFunctionFramework
java.lang.Object
nz.org.riskscape.defaults.function.csv.CsvFunctionFramework
- All Implemented Interfaces:
nz.org.riskscape.engine.function.FunctionFramework,nz.org.riskscape.engine.function.FunctionFrameworkSupport,nz.org.riskscape.engine.Identified
public class CsvFunctionFramework
extends Object
implements nz.org.riskscape.engine.function.FunctionFramework, nz.org.riskscape.engine.function.FunctionFrameworkSupport
A framework for functions that are backed by CSV data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe metadata parameters for a CSV function. -
Field Summary
FieldsFields inherited from interface nz.org.riskscape.engine.function.FunctionFramework
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.function.IdentifiedFunction>build(String functionName, nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.bind.BoundParameters bound) booleangetId()nz.org.riskscape.engine.bind.JavaParameterSet<CsvFunctionFramework.CsvMetadataParams>booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nz.org.riskscape.engine.function.FunctionFramework
getPriorityMethods inherited from interface nz.org.riskscape.engine.function.FunctionFrameworkSupport
loadFunctionFromParamsMethods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Field Details
-
PROBLEMS
-
-
Constructor Details
-
CsvFunctionFramework
public CsvFunctionFramework()
-
-
Method Details
-
canBuild
- Specified by:
canBuildin interfacenz.org.riskscape.engine.function.FunctionFramework
-
build
public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.function.IdentifiedFunction> build(String functionName, nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.bind.BoundParameters bound) - Specified by:
buildin interfacenz.org.riskscape.engine.function.FunctionFramework
-
getId
- Specified by:
getIdin interfacenz.org.riskscape.engine.Identified
-
isSourceCodeIndentSensitive
public boolean isSourceCodeIndentSensitive()- Specified by:
isSourceCodeIndentSensitivein interfacenz.org.riskscape.engine.function.FunctionFrameworkSupport
-
getParameterSet
public nz.org.riskscape.engine.bind.JavaParameterSet<CsvFunctionFramework.CsvMetadataParams> getParameterSet()- Specified by:
getParameterSetin interfacenz.org.riskscape.engine.function.FunctionFramework
-