HiRISE

HiRISE.HiPlan.PTF
Class Make_Suggestion_PTF

java.lang.Object
  extended by HiRISE.HiPlan.PTF.Make_Suggestion_PTF

public class Make_Suggestion_PTF
extends Object

A command-line utility to generate a stub PTF from a set of suggestion IDs. It mimicks some of the behavior of HiTList, but is in no way meant to replace it.

Version:
1.4
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.
 
Method Summary
 List<Integer> getMissingIds()
           
static void main(String[] args)
          Invokes an instance of Make_Suggestion_PTF 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
Method Detail

getMissingIds

public List<Integer> getMissingIds()

main

public static void main(String[] args)
Invokes an instance of Make_Suggestion_PTF and processes the command-line arguments. At least one suggestion ID must be supplied.

Usage

Make_Suggestion_PTF [--configuration configuration_pathname] [--sort] [--output output_ptf_pathname] suggestion_id [...]

Make_Suggestion_PTF --usage

Make_Suggestion_PTF --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.
--sort
Sorts the input suggestion IDs numerically. The resulting PTF is also sorted.
--output output_ptf_pathname
Sets the output PTF pathname. If this option isn't used, or if the value is -, the PTF will go to the standard output stream.

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