protected class Commander.SimpleArg extends Object implements Commander.Arg<S>
Modifier and Type | Field and Description |
---|---|
protected List<Commander.SimpleArg> |
args |
protected List<Commander.ComplexArg> |
complexArgs |
protected Consumer<S> |
consumer |
protected String |
label |
Modifier | Constructor and Description |
---|---|
protected |
SimpleArg(@NotNull String arg,
Commander.ComplexArg... args) |
protected |
SimpleArg(@NotNull String arg,
Commander.SimpleArg... args) |
protected |
SimpleArg(@NotNull String arg,
@NotNull Consumer<S> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
compile(@NotNull String parent,
@NotNull HashMap<String,Consumer<S>> consumerHashMap) |
protected final String label
protected final List<Commander.SimpleArg> args
protected final List<Commander.ComplexArg> complexArgs
@SafeVarargs protected SimpleArg(@NotNull @NotNull String arg, @NotNull Commander.SimpleArg... args)
@SafeVarargs protected SimpleArg(@NotNull @NotNull String arg, @NotNull Commander.ComplexArg... args)
Copyright © 2020. All rights reserved.