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

    Fields
    Modifier and Type
    Field
    Description
    static boolean
    Indicator for interactive mode vs. running from input redirection
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Main function to start the Spring application; exits with return code 0 on normal termination, with return code 1 otherwise
    void
    run(String... args)
    Main command loop after initialization of Spring environment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isInteractiveMode

      public static boolean isInteractiveMode
      Indicator for interactive mode vs. running from input redirection
  • Constructor Details

    • CommandLineInterface

      public CommandLineInterface()
  • Method Details

    • run

      public void run(String... args) throws Exception
      Main command loop after initialization of Spring environment
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Parameters:
      args - the command line arguments
      Throws:
      Exception - on any unrecoverable failure
    • main

      public static void main(String[] args)
      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