Class Info.ArgumentInfoChooser

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

public static final class Info.ArgumentInfoChooser extends Object
Helper class for choosing an ArgumentInfoBuilder type.
  • Method Details

    • type

      public Info.ValueInfoBuilder type(Class<? extends Value> cls)
      Create a ValueInfoBuilder for the provided value type.
      Parameters:
      cls - type of value
      Returns:
      builder
    • type

      public Info.ValueInfoBuilder type(String type)
      Create a ValueInfoBuilder for the provided value type.
      Parameters:
      type - name of value type
      Returns:
      builder
    • number

      public Info.NumberInfoBuilder number()
      Create a NumberInfoBuilder for numeric values.
      Returns:
      builder
    • string

      public Info.StringInfoBuilder string()
      Create a StringInfoBuilder for string values.
      Returns:
      builder