Class SubCommandSpec<S>
java.lang.Object
dev.ua.theroer.magicutils.commands.SubCommandSpec<S>
- Type Parameters:
S- sender type
Builder spec for a subcommand.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaliases()static <S> SubCommandSpec.Builder<S> executor()How this node's execute is owned when merged into a shared root.name()path()boolean
-
Method Details
-
name
-
path
-
description
-
aliases
-
permission
-
permissionDefault
-
threading
-
arguments
-
executor
-
replaceExisting
public boolean replaceExisting() -
mergePolicy
How this node's execute is owned when merged into a shared root. Defaults toMergePolicy.CONTRIBUTE.- Returns:
- the merge policy for this node's execute
-
builder
-