Class NihmsTransformLoadCLI

java.lang.Object
org.eclipse.pass.loader.nihms.NihmsTransformLoadCLI

public class NihmsTransformLoadCLI extends Object
NIHMS Submission Loader CLI
Author:
Karen Hanson
  • Field Details

    • help

      public boolean help
      Request for help/usage documentation
  • Constructor Details

    • NihmsTransformLoadCLI

      public NihmsTransformLoadCLI()
  • Method Details

    • main

      public static void main(String[] args)
      This is the main entry point for the NihmsTransformLoadCLI application. The method processes the command line arguments, determines the Nihms statuses to be processed, and initializes and runs the NihmsTransformLoadApp.

      Command line arguments are used to select the statuses to process. If the 'help' argument is specified, usage information will be printed and the application will terminate.

      If there are issues with the provided command line arguments, a message detailing the error will be printed, followed by the usage information. The application will then terminate with an exit code of 1.

      Other exceptions that may occur during the execution of the application are caught and their stack trace is printed, followed by the exception's message. The application will then terminate with an exit code of 1.

      Parameters:
      args - command line arguments