Class ApplyOnSelector<C>
java.lang.Object
cloud.commandframework.arguments.CommandArgument<C,Integer>
rocks.gravili.notquests.paper.commands.arguments.ApplyOnSelector<C>
- All Implemented Interfaces:
cloud.commandframework.keys.CloudKeyHolder<Integer>,Comparable<cloud.commandframework.arguments.CommandArgument<?,?>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApplyOnSelector(boolean required, @NonNull String name, @NonNull String defaultValue, @Nullable BiFunction<@NonNull cloud.commandframework.context.CommandContext<C>, @NonNull String, @NonNull List<@NonNull String>> suggestionsProvider, @NonNull cloud.commandframework.ArgumentDescription defaultDescription, NotQuests main, String questContext) -
Method Summary
Modifier and TypeMethodDescriptionstatic <C> @NonNull ApplyOnSelector.Builder<C>newBuilder(@NonNull String name, NotQuests main, String questContext) static <C> @NonNull cloud.commandframework.arguments.CommandArgument<C,Integer> static <C> @NonNull cloud.commandframework.arguments.CommandArgument<C,Integer> static <C> @NonNull cloud.commandframework.arguments.CommandArgument<C,Integer> Methods inherited from class cloud.commandframework.arguments.CommandArgument
addPreprocessor, compareTo, copy, equals, getDefaultDescription, getDefaultValue, getKey, getName, getOwningCommand, getParser, getSuggestionsProvider, getValueType, hasDefaultValue, hashCode, isArgumentRegistered, isRequired, ofType, ofType, preprocess, setArgumentRegistered, setOwningCommand, toString
-
Constructor Details
-
ApplyOnSelector
protected ApplyOnSelector(boolean required, @NonNull String name, @NonNull String defaultValue, @Nullable BiFunction<@NonNull cloud.commandframework.context.CommandContext<C>, @NonNull String, @NonNull List<@NonNull String>> suggestionsProvider, @NonNull cloud.commandframework.ArgumentDescription defaultDescription, NotQuests main, String questContext)
-
-
Method Details
-
newBuilder
public static <C> @NonNull ApplyOnSelector.Builder<C> newBuilder(@NonNull String name, NotQuests main, String questContext) -
of
-
optional
-
optional
-