Package de.uni_kiel.rz.fdr.repl
Enum Class REPLLog.LOG_TARGETS
- All Implemented Interfaces:
Serializable
,Comparable<REPLLog.LOG_TARGETS>
,Constable
- Enclosing class:
- REPLLog
The different targets that log messages can be written to.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLog4J, but only if it is available in the current JVM.The SSH consoles of all currently active shells.The repl.log file in cau-repl's work directory.The JVM's standard error output.Log4J, with a fallback the JVM's standard error output if the former is not available.The JVM's standard output. -
Method Summary
Modifier and TypeMethodDescriptionstatic REPLLog.LOG_TARGETS
Returns the enum constant of this class with the specified name.static REPLLog.LOG_TARGETS[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
STDERR
The JVM's standard error output. -
STDOUT
The JVM's standard output. -
LOG4J
Log4J, but only if it is available in the current JVM. -
STDERR_OR_LOG4J
Log4J, with a fallback the JVM's standard error output if the former is not available. -
REPL_ALL_SHELLS
The SSH consoles of all currently active shells. -
REPL_FILE
The repl.log file in cau-repl's work directory.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-