@SpringBootApplication public class ConfigManager extends Object implements org.springframework.boot.CommandLineRunner
| Constructor and Description |
|---|
ConfigManager()
Constructor with the location of the configuration service.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Application entry point.
|
void |
run(String... args) |
boolean |
runApp(String[] args)
Either executes commands from the command line or runs the manager interactively.
|
static void |
setExitOnEndCommands(boolean exit)
Determines if the application should exit when command processing is complete.
|
public ConfigManager()
configURL - URL containing the locations of the configuration service.public static void main(String[] args)
args - Command line arguments.public void run(String... args)
run in interface org.springframework.boot.CommandLineRunnerpublic boolean runApp(String[] args)
args - Command arguments. If the arguments are empty, then the manager runs interactively.public static void setExitOnEndCommands(boolean exit)
exit - True if the application should terminate on completing processing commands. False otherwise.Copyright © 2019. All rights reserved.