Package pamguard

Class GlobalArguments

java.lang.Object
pamguard.GlobalArguments

public class GlobalArguments extends Object
Global parameter pairs set at startup time.
These are the arguments passed to the command line.
Basically all going into a static hash map
Author:
dg50
  • Field Details

  • Constructor Details

    • GlobalArguments

      public GlobalArguments()
  • Method Details

    • setParam

      public static void setParam(String name, String value)
      Set a global parameter value
      Parameters:
      name - value name
      value - parameter value
    • getParam

      public static String getParam(String name)
      Get a global parameter value
      Parameters:
      name - value name
      Returns:
      value in original String format
    • getParamI

      public static Integer getParamI(String name)
      Get a param read as an integer
      Parameters:
      name -
      Returns:
      value as integer or null if not set. Throws exception if invalid integer.
    • isBatch

      public static boolean isBatch()
      Is the batch flag set ?
      Returns: