Class RootLiteralWrapper<C extends CommandContext<C>>
java.lang.Object
site.lab0x13.scrow.commands.model.literal.RootLiteralWrapper<C>
- All Implemented Interfaces:
Literal<C>, LiteralMeta, RootLiteral<C>
public class RootLiteralWrapper<C extends CommandContext<C>>
extends Object
implements RootLiteral<C>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable CommandExecutor<C> executor()getSubLiteral(String name) names()style()List<? extends LiteralMeta>
-
Constructor Details
-
RootLiteralWrapper
-
-
Method Details
-
style
- Specified by:
stylein interfaceRootLiteral<C extends CommandContext<C>>
-
names
- Specified by:
namesin interfaceLiteralMeta
-
executor
- Specified by:
executorin interfaceLiteral<C extends CommandContext<C>>
-
getSubLiteral
- Specified by:
getSubLiteralin interfaceLiteral<C extends CommandContext<C>>
-
subLiteralMetas
- Specified by:
subLiteralMetasin interfaceLiteral<C extends CommandContext<C>>- Returns:
- aliases/names of literals
-
arguments
-
permission
- Specified by:
permissionin interfaceLiteralMeta
-