Class Info


  • public class Info
    extends Object
    Builder utilities for creating ComponentInfo and related classes.
    • Method Detail

      • component

        public static ComponentInfo component​(UnaryOperator<Info.ComponentInfoBuilder> cmp)
        Apply the provided function to a new ComponentInfoBuilder and return the resulting ComponentInfo.
        Parameters:
        cmp - function to modify builder
        Returns:
        ComponentInfo from builder
      • port

        public static Info.PortInfoChooser port()
        Get a PortInfoChooser to choose a PortInfoBuilder
        Returns:
        builder chooser
      • port

        public static PortInfo port​(Function<Info.PortInfoChooser,​Info.PortInfoBuilder> p)
        Apply the provided function to a PortInfoChooser to choose and customize a PortInfoBuilder and return the resulting PortInfo.
        Parameters:
        p - function to choose and configure builder
        Returns:
        PortInfo from builder
      • control

        public static Info.ControlInfoChooser control()
        Get a ControlInfoChooser to choose a ControlInfoBuilder
        Returns:
        builder chooser
      • control

        public static ControlInfo control​(Function<Info.ControlInfoChooser,​Info.ControlInfoBuilder<?>> c)
        Apply the provided function to a ControlInfoChooser to choose and customize a ControlInfoBuilder and return the resulting ControlInfo.
        Parameters:
        c - function to choose and configure builder
        Returns:
        ControlInfo from builder
      • argument

        public static Info.ArgumentInfoChooser argument()
        Get an ArgumentInfoChooser to choose an ArgumentInfoBuilder.
        Returns:
        builder chooser
      • argument

        public static ArgumentInfo argument​(Function<Info.ArgumentInfoChooser,​Info.ArgumentInfoBuilder<?>> a)
        Apply the provided function to an ArgumentInfoChooser to choose and configure an ArgumentInfoBuilder and return the resulting ArgumentInfo.
        Parameters:
        a - function to choose and configure builder
        Returns:
        ArgumentInfo from builder