Package kboyle.oktane.core.module
Class CommandModule.Builder
java.lang.Object
kboyle.oktane.core.module.CommandModule.Builder
- Enclosing class:
- CommandModule
-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withChild(CommandModule.Builder child)
withCommand(Consumer<Command.Builder> builderConsumer)
withCommand(Command.Builder command)
withDescription(String description)
withOriginalClass(Class<? extends ModuleBase<?>> originalClass)
withPrecondition(Precondition precondition)
withSingleton(boolean singleton)
withSynchronised(boolean synchronised)
-
Field Details
-
groups
-
commands
-
preconditions
-
beans
-
children
-
-
Method Details
-
withName
-
withGroup
-
withDescription
-
withCommand
-
withCommand
-
withPrecondition
-
withBean
-
singleton
-
withSingleton
-
synchronised
-
withSynchronised
-
withChild
-
withOriginalClass
-
build
-