Package pamguard
Class GlobalArguments
java.lang.Object
pamguard.GlobalArguments
Global parameter pairs set at startup time.
These are the arguments passed to the command line.
Basically all going into a static hash map
These are the arguments passed to the command line.
Basically all going into a static hash map
- Author:
- dg50
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
BATCHFLAG
Put some common flags here for convenience.- See Also:
-
-
Constructor Details
-
GlobalArguments
public GlobalArguments()
-
-
Method Details
-
setParam
Set a global parameter value- Parameters:
name
- value namevalue
- parameter value
-
getParam
Get a global parameter value- Parameters:
name
- value name- Returns:
- value in original String format
-
getParamI
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:
-