HiRISE

HiRISE.HiPlan.HiCat
Class Delete_Observation_Record

java.lang.Object
  extended by HiRISE.HiPlan.HiCat.Delete_Observation_Record

public class Delete_Observation_Record
extends Object

A command-line utility to get one or more observations from the database.

Version:
2.12
Author:
Christian Schaller - UA/PIRL

Field Summary
static int FAILURE
          Exit status for an unsuccessful operation.
static String ID
          Class identification name with source code version and date.
static int SUCCESS
          Exit status for a successful operation.
 
Constructor Summary
Delete_Observation_Record(String configFilename)
           
 
Method Summary
static void main(String[] args)
          Invokes an instance of Delete_Observation_Record and processes the command-line arguments.
 
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
Class identification name with source code version and date.

See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
Exit status for a successful operation.

See Also:
Constant Field Values

FAILURE

public static final int FAILURE
Exit status for an unsuccessful operation.

See Also:
Constant Field Values
Constructor Detail

Delete_Observation_Record

public Delete_Observation_Record(String configFilename)
                          throws Configuration_Exception,
                                 Invalid_Argument_Exception
Throws:
Configuration_Exception
Invalid_Argument_Exception
Method Detail

main

public static void main(String[] args)
Invokes an instance of Delete_Observation_Record and processes the command-line arguments. At least one input source of observation IDs must be supplied; see Observation_ID_Accumulator for information about sources.

The observation records are returned as a collection of PVL parameters, grouped by observation, per the Observation_Record.parameter() method. The records are written to the standard output stream.

Usage

Delete_Observation_Record [--configuration configuration_pathname] [--test] observation_id_source [...]

Delete_Observation_Record --usage

Delete_Observation_Record --version

Options are not case-sensitive and may be reduced to their shortest unique form. One or two dashes may be used.

Options

--configuration configuration_pathname
Sets the pathname of the configuration file from which to configure the application. See Configuration_Helper.getConfiguration(String,String,String...) for details on the configuration pathname; if this option is not used, the config source argument is null.
--test
Sets the application to test mode. HiCat records will not be altered.

Parameters:
args - the command-line arguments.

HiRISE

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