Interface SingleArgument<SENDER,A extends Annotation>
- All Superinterfaces:
Argument<SENDER,,A> ParameterHandler,SingleOrElseArgument<SENDER,A>
- All Known Implementing Classes:
EnumArgument
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SingleArgument<SENDER,A extends Annotation>
extends SingleOrElseArgument<SENDER,A>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MatchResultorElse(LiteInvocation invocation, ArgumentContext<A> context) Methods inherited from interface dev.rollczi.litecommands.argument.Argument
defaultValue, getName, getNativeClass, getSchematic, isOptional, suggestion, validateMethods inherited from interface dev.rollczi.litecommands.argument.ParameterHandler
canHandle, canHandleAssignableFromMethods inherited from interface dev.rollczi.litecommands.argument.SingleOrElseArgument
match, match
-
Method Details
-
orElse
- Specified by:
orElsein interfaceSingleOrElseArgument<SENDER,A extends Annotation>
-