Class ConfigCommand
java.lang.Object
org.apache.juneau.microservice.console.ConsoleCommand
org.apache.juneau.microservice.console.ConfigCommand
Implements the 'config' console command to get or set configuration.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexecute(Scanner in, PrintWriter out, Args args) Executes a command.Returns localized details of the command.getInfo()Returns a one-line localized description of the command.getName()Returns the name of the command.Returns the usage synopsis of the command.Methods inherited from class org.apache.juneau.microservice.console.ConsoleCommandgetExamples
- 
Constructor Details- 
ConfigCommandpublic ConfigCommand()
 
- 
- 
Method Details- 
getNameDescription copied from class:ConsoleCommandReturns the name of the command.Example: "help" for the help command.- Specified by:
- getNamein class- ConsoleCommand
- Returns:
- The name of the command.
   
 Must not benull or contain spaces.
 
- 
getSynopsisDescription copied from class:ConsoleCommandReturns the usage synopsis of the command.Example: "help [command ...]" The default implementation just returns the name, which implies the command takes no additional arguments. - Overrides:
- getSynopsisin class- ConsoleCommand
- Returns:
- The synopsis of the command.
 
- 
getInfoDescription copied from class:ConsoleCommandReturns a one-line localized description of the command.The locale should be the system locale. - Overrides:
- getInfoin class- ConsoleCommand
- Returns:
- The localized description of the command.
   
 Can benull if there is no information.
 
- 
getDescriptionDescription copied from class:ConsoleCommandReturns localized details of the command.The locale should be the system locale. - Overrides:
- getDescriptionin class- ConsoleCommand
- Returns:
- The localized details of the command.
   
 Can benull if there is no additional description.
 
- 
executeDescription copied from class:ConsoleCommandExecutes a command.- Specified by:
- executein class- ConsoleCommand
- Parameters:
- in- The console reader.
- out- The console writer.
- args- The command arguments. The first argument is always the command itself.
- Returns:
- true if the console read thread should exit.
 Normally you want to return- true if your action is causing the microservice to exit or restart.
 
 
-