Class FunctionContext

java.lang.Object
nz.org.riskscape.engine.function.FunctionContext

public class FunctionContext extends Object

Context containing things that may be useful to RiskscapeFunctions being instantiated from external sources. For example by the Java Plugin.

  • Constructor Details

    • FunctionContext

      public FunctionContext(TypeSet typeSet)
  • Method Details

    • getTypeSet

      public TypeSet getTypeSet()

      Get the typeSet that will be in use for the project.

      Functions should use access any types they require from the typeSet as LinkedTypes. This is because the actual types may not have been added to the typeset at the time the function is being instantiated.

      Returns:
      typeSet