HiRISE

HiRISE.HiCat.HiVolume
Class Release_Products

java.lang.Object
  extended by HiRISE.HiCat.HiVolume.Release_Products

Deprecated. this class has been deprecated in favor of the releasable interface, use of this class is not recommended.

public class Release_Products
extends Object

Release_Products is a class for releasing products to the HiRISE PDS Data Node. This class populates the Proffered_RDR_Products, RDR_Inventory, Proffered_EDR_Products, and EDR_Inventory tables depending on the type of product being released. In addition, the class also creates symbolic links in the PDS volume area to the data directories in the EDRgen or RDRgen area. The class requires a Configuration with entries for the EDR and RDR root data directories, the Extras root directory the root of the PDS volume area, and the locations of the EDRINDEX.TAB, EDRCUMINDEX.TAB, RDRINDEX.TAB, and RDRCUMINDEX.TAB files which will be created or appended to.

Version:
2.9
Author:
Rodney Heyd UA/PIRL

Field Summary
 Database database
          Deprecated. The Database object needed for updating the HiCat.
static String DEFAULT_CONFIGURATION_FILE_NAME
          Deprecated. Default configuration file name
static String[] EDR_Extras_Extensions
          Deprecated. EDR extras file extensions.
static int EXIT_CONFIGURATION_ERROR
          Deprecated. Exit Status - Configuration Error
static int EXIT_DATABASE_ERROR
          Deprecated. Exit Status - Database Error
static int EXIT_FILE_ACCESS_ERROR
          Deprecated. Exit Status - File Access Error
static int EXIT_INVALID_COMMAND_LINE_SYNTAX
          Deprecated.  
static int EXIT_SUCCESS
          Deprecated. Exit Status - Success
static String ID
          Deprecated. Class name and version information.
 boolean Noop
          Deprecated.  
 Vector Products
          Deprecated. The vector containing a list of Products to be released.
static String[] RDR_Extras_Extensions
          Deprecated. RDR Extras file extensions.
 
Constructor Summary
Release_Products(Vector Products, Database database, Configuration configuration)
          Deprecated.  
 
Method Summary
static Vector Convert_To_Logical(Vector File_List, Configuration Configuration)
          Deprecated.  
static void main(String[] arguments)
          Deprecated. Release a set of products to the HiRISE PDS Node.
 boolean Noop(boolean enable)
          Deprecated.  
 boolean Over_Write(boolean enable)
          Deprecated.  
 void Proffer_Products()
          Deprecated.  
 Progress_Monitor Progress_Monitor()
          Deprecated.  
 void Progress_Monitor(Progress_Monitor monitor)
          Deprecated. Set a Progress_Monitor on the release process.
static void Usage()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Deprecated. 
Class name and version information.

See Also:
Constant Field Values

DEFAULT_CONFIGURATION_FILE_NAME

public static final String DEFAULT_CONFIGURATION_FILE_NAME
Deprecated. 
Default configuration file name

See Also:
Constant Field Values

Products

public Vector Products
Deprecated. 
The vector containing a list of Products to be released.


database

public Database database
Deprecated. 
The Database object needed for updating the HiCat.


Noop

public boolean Noop
Deprecated. 

EXIT_SUCCESS

public static final int EXIT_SUCCESS
Deprecated. 
Exit Status - Success

See Also:
Constant Field Values

EXIT_CONFIGURATION_ERROR

public static final int EXIT_CONFIGURATION_ERROR
Deprecated. 
Exit Status - Configuration Error

See Also:
Constant Field Values

EXIT_DATABASE_ERROR

public static final int EXIT_DATABASE_ERROR
Deprecated. 
Exit Status - Database Error

See Also:
Constant Field Values

EXIT_FILE_ACCESS_ERROR

public static final int EXIT_FILE_ACCESS_ERROR
Deprecated. 
Exit Status - File Access Error

See Also:
Constant Field Values

EXIT_INVALID_COMMAND_LINE_SYNTAX

public static final int EXIT_INVALID_COMMAND_LINE_SYNTAX
Deprecated. 
See Also:
Constant Field Values

EDR_Extras_Extensions

public static final String[] EDR_Extras_Extensions
Deprecated. 
EDR extras file extensions. These are the extensions of the extras files associated with EDR products, eg browse.jpg and thumb.jpg


RDR_Extras_Extensions

public static final String[] RDR_Extras_Extensions
Deprecated. 
RDR Extras file extensions. These are the extensions of the extras files associated with RDR products.

Constructor Detail

Release_Products

public Release_Products(Vector Products,
                        Database database,
                        Configuration configuration)
Deprecated. 

Parameters:
Products -
database -
Method Detail

Proffer_Products

public void Proffer_Products()
                      throws Database_Exception,
                             IOException,
                             Configuration_Exception
Deprecated. 

Throws:
Database_Exception
IOException
Configuration_Exception

Over_Write

public boolean Over_Write(boolean enable)
Deprecated. 


Noop

public boolean Noop(boolean enable)
Deprecated. 

Parameters:
enable -
Returns:
the state of the Noop flag

Convert_To_Logical

public static Vector Convert_To_Logical(Vector File_List,
                                        Configuration Configuration)
                                 throws Configuration_Exception,
                                        IOException
Deprecated. 

Parameters:
File_List -
Configuration -
Returns:
a vector of files, with paths converted to thier logical paths
Throws:
Configuration_Exception
IOException

Progress_Monitor

public void Progress_Monitor(Progress_Monitor monitor)
Deprecated. 
Set a Progress_Monitor on the release process. If a progress monitor is set on this object, then the Proffer_Products method will update the monitor with status information as products are released.

Parameters:
monitor - The Progress_Monitor to update as products are released.
See Also:
Progress_Monitor

Progress_Monitor

public Progress_Monitor Progress_Monitor()
Deprecated. 

main

public static void main(String[] arguments)
Deprecated. 
Release a set of products to the HiRISE PDS Node.

The command line syntax is described in the Usage() method.

Exit Status Values:

0 - Success 1 - Configuration Error 2 - Database Error 3 - File Access Error 4 - Invalid Command Line Syntax

Parameters:
arguments - - An array of arguments to be given to the release application.

Usage

public static void Usage()
Deprecated. 

Prints the command line usage syntax.

Usage: Release_Products <Options> <filename> [...]
  Options -
    [-Append_to_index]
    [-Configuration <filename>
      (default: HiDemand.conf)
    [-Help]


HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona