Class ArgumentBuilder<T,V>

java.lang.Object
redempt.ordinate.parser.argument.ArgumentBuilder<T,V>

public class ArgumentBuilder<T,V> extends Object
  • Constructor Details

    • ArgumentBuilder

      public ArgumentBuilder()
  • Method Details

    • setConsuming

      public void setConsuming(boolean consuming)
    • setVararg

      public void setVararg(boolean vararg)
    • setOptional

      public void setOptional(boolean optional)
    • setName

      public void setName(String name)
    • setType

      public void setType(ArgType<T,?> type)
    • setConstraint

      public void setConstraint(Constraint<T,?> constraint)
    • setDefaultValue

      public void setDefaultValue(ContextProvider<T,?> defaultValue)
    • build

      public List<CommandComponent<T>> build(ComponentFactory<T> factory)