public class GbjGciPreferences extends Object
Run by executing:
prompt> java com.gemstone.gbjgci.GbjPreferences [command] [arg1] [arg2]
Where valid commands are:
Valid parameters and their values are:
Constructor and Description |
---|
GbjGciPreferences()
Constructor is not really needed as all behavior is static
|
Modifier and Type | Method and Description |
---|---|
static int |
debugC()
Return 0/1/2 if off/info/debug trace logging of
GbjGciInterface JNI code should be enabled
|
static String |
get(String pref)
Return a preference string value
|
static String |
get(String pref,
String deflt)
Return a preference string value
|
static Level |
logLevel(String moduleName)
Return trace debug logging level for designated module
|
static void |
main(String[] args)
Main program for viewing/setting/removing
Gbj/GbjGci debug trace logging levels
|
public GbjGciPreferences()
public static String get(String pref, String deflt)
pref
- Stringdeflt
- Stringpublic static String get(String pref)
pref
- Stringpublic static int debugC()
public static Level logLevel(String moduleName)
moduleName
- Stringpublic static void main(String[] args)
args
- String array of input arguments