Package de.dlr.proseo.ui.cli
Class CommandLineInterface
java.lang.Object
de.dlr.proseo.ui.cli.CommandLineInterface
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@Configuration
@EnableAutoConfiguration
@EnableConfigurationProperties
@ComponentScan(basePackages="de.dlr.proseo")
public class CommandLineInterface
extends Object
implements org.springframework.boot.CommandLineRunner
prosEO Command Line Interface application
- Author:
- Dr. Thomas Bassler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanIndicator for interactive mode vs. running from input redirection -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isInteractiveMode
public static boolean isInteractiveModeIndicator for interactive mode vs. running from input redirection
-
-
Constructor Details
-
CommandLineInterface
public CommandLineInterface()
-
-
Method Details
-
run
Main command loop after initialization of Spring environment- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Parameters:
args- the command line arguments- Throws:
Exception- on any unrecoverable failure
-
main
Main function to start the Spring application; exits with return code 0 on normal termination, with return code 1 otherwise- Parameters:
args- the command line arguments
-