public class DebugFlagsImpl extends java.lang.Object implements DebugFlags
Constructor and Description |
---|
DebugFlagsImpl()
All flags are off
|
DebugFlagsImpl(java.lang.String flagsOn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSet(java.lang.String flagName)
Test if named debug flag is set.
|
void |
set(java.lang.String flagName,
boolean value)
Set named debug flag.
|
public DebugFlagsImpl()
public DebugFlagsImpl(java.lang.String flagsOn)
flagsOn
- space-separated list of flags to turn on.public boolean isSet(java.lang.String flagName)
DebugFlags
isSet
in interface DebugFlags
flagName
- name of flagpublic void set(java.lang.String flagName, boolean value)
DebugFlags
set
in interface DebugFlags
flagName
- set this flagvalue
- set to this value