HiRISE

HiRISE.HiPlan.Utilities
Class Print_JMARS_Config

java.lang.Object
  extended by HiRISE.HiPlan.Utilities.Print_JMARS_Config

public class Print_JMARS_Config
extends Object

A command-line utility to print out values from the aggregated JMARS config files.

Version:
1.2
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
static void main(String[] args)
          Invokes an instance of Print_JMARS_Config 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

main

public static void main(String[] args)
Invokes an instance of Print_JMARS_Config and processes the command-line arguments. All JMARS configuration properties starting with mro are printed to the standard output.

Usage

Print_JMARS_Config [--all | --prefix prefix] [--full-value]

Print_JMARS_Config --usage

Print_JMARS_Config --version

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

Options

--all
If used, the application will print all config values. Overrides the --prefix option.
--prefix prefix
If used, only parameters with the indicated prefix will be printed. Overridden by the --all option. Note that the default application behavior is identical to using --prefix mro.
--full-value
Prints the values' full text. By default, the application truncates values to 30 characters.
--color-output
Color-codes the output. Built-in properties are printed normally. Saved properties are printed green. Current-directory properties are printed blue. Command-line properties are printed red.

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