Package redempt.ordinate.parser.argument
Class ArgumentBuilder<T,V>
java.lang.Object
redempt.ordinate.parser.argument.ArgumentBuilder<T,V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(ComponentFactory<T> factory) void
setConstraint
(Constraint<T, ?> constraint) void
setConsuming
(boolean consuming) void
setDefaultValue
(ContextProvider<T, ?> defaultValue) void
void
setOptional
(boolean optional) void
void
setVararg
(boolean vararg)
-
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
-
setType
-
setConstraint
-
setDefaultValue
-
build
-