|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<LogEventMark.Type>
cz.cuni.amis.pogamut.base.utils.logging.marks.LogEventMark.Type
public static enum LogEventMark.Type
Type of LogEventMark.
| Enum Constant Summary | |
|---|---|
END_EVENT
End mark of event with variable duration, shoudn't be created directly, but through LogEventMark.getEndMark()
Example: bot picked health pack, end event "bot is low on health" |
|
FIXED_DURATION
Event that lasts for certain specified duration. |
|
SINGLE_EVENT
Single time event. |
|
START_EVENT
Used as start mark of event that has variable duration. |
|
| Method Summary | |
|---|---|
static LogEventMark.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LogEventMark.Type[] |
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 |
|---|
public static final LogEventMark.Type SINGLE_EVENT
public static final LogEventMark.Type FIXED_DURATION
public static final LogEventMark.Type START_EVENT
public static final LogEventMark.Type END_EVENT
LogEventMark.getEndMark()
Example: bot picked health pack, end event "bot is low on health"
| Method Detail |
|---|
public static LogEventMark.Type[] values()
for (LogEventMark.Type c : LogEventMark.Type.values()) System.out.println(c);
public static LogEventMark.Type valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||