Class ConfigModifierServerCommand<C extends io.dropwizard.core.Configuration>
java.lang.Object
io.dropwizard.core.cli.Command
io.dropwizard.core.cli.ConfiguredCommand<T>
io.dropwizard.core.cli.EnvironmentCommand<T>
io.dropwizard.core.cli.ServerCommand<C>
ru.vyarus.dropwizard.guice.test.util.ConfigModifierServerCommand<C>
- Type Parameters:
C- configuration type
public class ConfigModifierServerCommand<C extends io.dropwizard.core.Configuration>
extends io.dropwizard.core.cli.ServerCommand<C>
Dropwizard
ServerCommand with configuration modifiers support.- Since:
- 04.03.2025
-
Constructor Summary
ConstructorsConstructorDescriptionConfigModifierServerCommand(io.dropwizard.core.Application<C> application, List<ConfigModifier<C>> modifiers) Create a command. -
Method Summary
Methods inherited from class io.dropwizard.core.cli.ServerCommand
getConfigurationClass, runMethods inherited from class io.dropwizard.core.cli.EnvironmentCommand
getEnvironmentMethods inherited from class io.dropwizard.core.cli.ConfiguredCommand
addFileArgument, cleanup, cleanupAsynchronously, configure, getConfiguration, runMethods inherited from class io.dropwizard.core.cli.Command
getDescription, getName, onError
-
Constructor Details
-
ConfigModifierServerCommand
public ConfigModifierServerCommand(io.dropwizard.core.Application<C> application, List<ConfigModifier<C>> modifiers) Create a command.- Parameters:
application- application instancemodifiers- modifiers
-
-
Method Details