Class ClassifierFunctionFramework

java.lang.Object
nz.org.riskscape.defaults.classifier.ClassifierFunctionFramework
All Implemented Interfaces:
nz.org.riskscape.engine.function.FunctionFramework, nz.org.riskscape.engine.Identified

public class ClassifierFunctionFramework extends Object implements nz.org.riskscape.engine.function.FunctionFramework

Framework support for defining classifier functions in an INI section.

This is just included for completeness, as we currently don't support defining classifier functions in an INI section like this.

  • Constructor Details

    • ClassifierFunctionFramework

      public ClassifierFunctionFramework()
  • Method Details

    • canBuild

      public boolean canBuild(nz.org.riskscape.engine.Project project, Map<String,List<?>> unbound)
      Specified by:
      canBuild in interface nz.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 values)
      Specified by:
      build in interface nz.org.riskscape.engine.function.FunctionFramework
    • getId

      public String getId()
      Specified by:
      getId in interface nz.org.riskscape.engine.Identified
    • getParameterSet

      public nz.org.riskscape.engine.bind.JavaParameterSet<ClassifierFunctionFramework.Params> getParameterSet()
      Specified by:
      getParameterSet in interface nz.org.riskscape.engine.function.FunctionFramework