Class CommandsResolvedEvent
java.lang.Object
ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
ru.vyarus.dropwizard.guice.module.lifecycle.event.configuration.CommandsResolvedEvent
Called if commands search is enabled (
GuiceBundle.Builder.searchCommands())
and at least one command found. Not called otherwise.- Since:
- 15.06.2019
-
Constructor Summary
ConstructorsConstructorDescriptionCommandsResolvedEvent(EventsContext context, List<io.dropwizard.core.cli.Command> installed) Create event. -
Method Summary
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
getBootstrapMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
getOptions, getSharedState, getStats, getType
-
Constructor Details
-
CommandsResolvedEvent
Create event.- Parameters:
context- event contextinstalled- installed commands
-
-
Method Details
-
getCommands
- Returns:
- list of registered commands
-