Interface ValueParameter<T>

Type Parameters:
T - The type of object that is returned from the ValueParser upon successful parsing.
All Superinterfaces:
DefaultedRegistryValue, ValueCompleter, ValueParser<T>, ValueUsage
All Known Subinterfaces:
ResourceKeyedValueParameter<T>, ValueParameter.Simple<T>

public interface ValueParameter<T> extends DefaultedRegistryValue, ValueCompleter, ValueParser<T>, ValueUsage
Combines the ValueParser, ValueCompleter and ValueUsage into one object.
See Also:
  • Method Details

    • usage

      default String usage(@NonNull String key)
      Description copied from interface: ValueUsage
      Gets the usage string for the parameter.
      Specified by:
      usage in interface ValueUsage
      Parameters:
      key - The String that defines the parameter key
      Returns:
      The usage