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
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BATCHFLAG
Flag to say we're running batch jobs (viewer OR normal)- See Also:
-
BATCHVIEW
Flag used when opening the psfx that's going to control viewer offline tasks. Used in modules to make sure they load and register tasks.- 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:
-