de.cau.cs.kieler.sj
Enum SJLogger.LogMsgTyp

java.lang.Object
  extended by java.lang.Enum<SJLogger.LogMsgTyp>
      extended by de.cau.cs.kieler.sj.SJLogger.LogMsgTyp
All Implemented Interfaces:
Comparable<SJLogger.LogMsgTyp>
Enclosing interface:
SJLogger

public static enum SJLogger.LogMsgTyp
extends Enum<SJLogger.LogMsgTyp>

The different Levels which can be used for logging.

Rating red

Enum Constant Summary
INSTRUCTION
          Used if the logged information is about execution an instruction.
PROGRAM_INFO
          Used if the logged information is a general info about the execution SJ program.
SIGNALS
          Used if the logged information is about signals and their status.
TICK_INFO
          Used if the logged information includes information about the current tick.
 
Method Summary
static SJLogger.LogMsgTyp valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SJLogger.LogMsgTyp[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTRUCTION

public static final SJLogger.LogMsgTyp INSTRUCTION
Used if the logged information is about execution an instruction.


TICK_INFO

public static final SJLogger.LogMsgTyp TICK_INFO
Used if the logged information includes information about the current tick.


SIGNALS

public static final SJLogger.LogMsgTyp SIGNALS
Used if the logged information is about signals and their status.


PROGRAM_INFO

public static final SJLogger.LogMsgTyp PROGRAM_INFO
Used if the logged information is a general info about the execution SJ program.

Method Detail

values

public static SJLogger.LogMsgTyp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SJLogger.LogMsgTyp c : SJLogger.LogMsgTyp.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SJLogger.LogMsgTyp valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null