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 Link icon

  • Constructor Details Link icon

    • GlobalArguments Link icon

      public GlobalArguments()
  • Method Details Link icon

    • setParam Link icon

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

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

      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 Link icon

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