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