Class Info.PortInfoChooser

java.lang.Object
org.praxislive.core.Info.PortInfoChooser
Enclosing class:
Info

public static final class Info.PortInfoChooser extends Object
Helper class to choose a PortInfoBuilder type.
  • Method Details

    • input

      public Info.PortInfoBuilder input(Class<? extends Port> type)
      Create a PortInfoBuilder for input ports of the provided base type.
      Parameters:
      type - base Port type
      Returns:
      builder
    • input

      public Info.PortInfoBuilder input(String type)
      Create a PortInfoBuilder for input ports of the provided base type.
      Parameters:
      type - base Port type name
      Returns:
      builder
    • output

      public Info.PortInfoBuilder output(Class<? extends Port> type)
      Create a PortInfoBuilder for output ports of the provided base type.
      Parameters:
      type - base Port type
      Returns:
      builder
    • output

      public Info.PortInfoBuilder output(String type)
      Create a PortInfoBuilder for output ports of the provided base type.
      Parameters:
      type - base Port type name
      Returns:
      builder