| Constructor and Description |
|---|
StringArguments(List<String> args)
Creates a new
ListArguments |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ArgumentReader |
asReader()
Converts all arguments into an
ArgumentReader |
<T> @NotNull com.datasiqn.resultapi.Result<T,String> |
getChecked(int i,
@NotNull ArgumentType<T> type)
Same as
Arguments.get(int, ArgumentType), except checks if there is an error and returns a Result |
@NotNull String |
getString(int i)
Gets a simple string argument
|
int |
size()
Gets the size of the arguments
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckBounds, getpublic int size()
Arguments@NotNull public <T> @NotNull com.datasiqn.resultapi.Result<T,String> getChecked(int i, @NotNull @NotNull ArgumentType<T> type)
ArgumentsArguments.get(int, ArgumentType), except checks if there is an error and returns a ResultgetChecked in interface ArgumentsT - The type of the argument typei - The index of the argumenttype - The argument type@NotNull public @NotNull String getString(int i)
Arguments@NotNull public @NotNull ArgumentReader asReader()
ArgumentsArgumentReaderCopyright © 2024. All rights reserved.