Class DownloadCommand

java.lang.Object
nl.b3p.brmo.bgt.loader.cli.DownloadCommand

public class DownloadCommand extends Object
  • Constructor Details

    • DownloadCommand

      public DownloadCommand()
  • Method Details

    • getApiClient

      public static ApiClient getApiClient(URI baseUri)
    • initial

      public int initial(DatabaseOptions dbOptions, LoadOptions loadOptions, ExtractSelectionOptions extractSelectionOptions, boolean noGeoFilter, URI downloadServiceURI, CLIOptions cliOptions, boolean showHelp) throws Exception
      Throws:
      Exception
    • setBGTDatabase

      public void setBGTDatabase(BGTDatabase bgtDatabase)
      set a preconfigured database instead of using one created in the command using the dbOtions. Useful when using a JDNI database.
      Parameters:
      bgtDatabase - the BGT database to use for any issued commands
    • update

      public int update(DatabaseOptions dbOptions, CLIOptions cliOptions, URI downloadServiceURI, boolean noHttpZipRandomAccess, boolean showHelp) throws Exception
      Throws:
      Exception