Package ucar.nc2.util
Class DebugFlagsImpl
java.lang.Object
ucar.nc2.util.DebugFlagsImpl
- All Implemented Interfaces:
DebugFlags
An implementation of DebugFlags
TODO will move in ver 6
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DebugFlagsImpl
public DebugFlagsImpl()All flags are off -
DebugFlagsImpl
Constructor.- Parameters:
flagsOn- space-separated list of flags to turn on.
-
-
Method Details
-
isSet
Description copied from interface:DebugFlagsTest if named debug flag is set.- Specified by:
isSetin interfaceDebugFlags- Parameters:
flagName- name of flag- Returns:
- true if named flag is set true
-
set
Description copied from interface:DebugFlagsSet named debug flag.- Specified by:
setin interfaceDebugFlags- Parameters:
flagName- set this flagvalue- set to this value
-
getSetFlags
Description copied from interface:DebugFlagsReturn the string representing the current debug flag(s) set. Flags can be either or false - they just need to be set.- Specified by:
getSetFlagsin interfaceDebugFlags
-