Class IniFileFunctionBuilder

java.lang.Object
nz.org.riskscape.engine.ini.IdentifiedObjectBuilder.Base<nz.org.riskscape.engine.function.IdentifiedFunction>
nz.org.riskscape.engine.ini.IniFileFunctionBuilder
All Implemented Interfaces:
IdentifiedObjectBuilder<nz.org.riskscape.engine.function.IdentifiedFunction>

public class IniFileFunctionBuilder extends IdentifiedObjectBuilder.Base<nz.org.riskscape.engine.function.IdentifiedFunction>

Builds a user-defined function from an INI definition.

  • Field Details

  • Constructor Details

    • IniFileFunctionBuilder

      public IniFileFunctionBuilder(nz.org.riskscape.engine.Project project)
  • Method Details

    • build

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.function.IdentifiedFunction> build(String id, nz.org.riskscape.config.ConfigSection section)
      Description copied from interface: IdentifiedObjectBuilder

      Builds the item based on the given INI section.

      Returns:
      the item successfully built, or any problems that occurred.