Class FunctionView


  • public class FunctionView
    extends Object
    Class used to copy and export data from the skill collection. The data is mutable, but changes do not affect the skill collection.
    • Constructor Detail

      • FunctionView

        public FunctionView​(String name,
                            String skillName,
                            String description,
                            List<ParameterView> parameters,
                            boolean isSemantic,
                            boolean isAsynchronous)
        Create a function view.
        Parameters:
        name - Function name
        skillName - Skill name, e.g. the function namespace
        description - Function description
        parameters - List of function parameters provided by the skill developer
        isSemantic - Whether the function is a semantic one (or native is False)
        isAsynchronous - Whether the function is async. Note: all semantic functions are async
    • Method Detail

      • getParameters

        public List<ParameterView> getParameters()
        List of function parameters
        Returns:
        the list of function parameters
      • getDescription

        public String getDescription()
      • getSkillName

        public String getSkillName()
      • getName

        public String getName()