Class ToolInterface.ToolInterfaceBuilder

java.lang.Object
org.ivoa.dm.pdl.ToolInterface.ToolInterfaceBuilder
Enclosing class:
ToolInterface

public static class ToolInterface.ToolInterfaceBuilder extends Object
A builder class for ToolInterface, mainly for use in the functional builder pattern.
  • Field Details

    • parameters

      public List<ParameterDefinition> parameters
      All possible parameters for the tool interface.
    • groups

      public List<ParameterGroup> groups
      all the Parameter Groups.
    • input

      public ParameterGroup input
      The group of of parameters that are required for tool execution - i.e. input.
    • output

      public ParameterGroup output
      The group of parameters that are produced by tool execution - i.e. output.
  • Constructor Details

    • ToolInterfaceBuilder

      public ToolInterfaceBuilder()
  • Method Details

    • create

      public ToolInterface create()
      create a ToolInterface from this builder.
      Returns:
      an object initialized from the builder.