Package edu.cmu.tetrad.util
Class TetradLogger.EmptyConfig
java.lang.Object
edu.cmu.tetrad.util.TetradLogger.EmptyConfig
- All Implemented Interfaces:
TetradLoggerConfig,TetradSerializable,Serializable
- Enclosing class:
TetradLogger
Represents an empty configuration for the logger. It implements the TetradLoggerConfig interface.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.cmu.tetrad.util.TetradLoggerConfig
TetradLoggerConfig.Event -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()isActive.copy()copy.getSupportedEvents.booleanisEventActive(String id) isEventActive.static TetradLogger.EmptyConfigGenerates a simple exemplar of this class to test serialization.voidsetEventActive(String id, boolean active) setEventActive.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.util.TetradLoggerConfig
toString
-
Constructor Details
-
EmptyConfig
public EmptyConfig(boolean active) Constructor for EmptyConfig.
- Parameters:
active- a boolean
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a simple exemplar of this class to test serialization.
-
isEventActive
isEventActive.
- Specified by:
isEventActivein interfaceTetradLoggerConfig- Parameters:
id- aStringobject- Returns:
- a boolean
-
active
public boolean active()isActive.
- Specified by:
activein interfaceTetradLoggerConfig- Returns:
- a boolean
-
copy
copy.
- Specified by:
copyin interfaceTetradLoggerConfig- Returns:
- a
TetradLoggerConfigobject
-
getSupportedEvents
getSupportedEvents.
- Specified by:
getSupportedEventsin interfaceTetradLoggerConfig- Returns:
- a
Listobject
-
setEventActive
setEventActive.
- Specified by:
setEventActivein interfaceTetradLoggerConfig- Parameters:
id- aStringobjectactive- a boolean
-