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 |
---|---|
java.lang.String |
getSetFlags()
Return the string representing the current debug flag(s) set.
|
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 java.lang.String getSetFlags()
DebugFlags
getSetFlags
in interface DebugFlags
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