|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.events.tags.EventTag
public class EventTag
Event tag (a typesafe enum pattern with behavior)
Each instance of this class is associated to a tag interface class.
The matches() method says if this tag matches an event,
i.e if the event implements the associated tag interface.
The interface class belonging to this tag is:
org.activemath.events.tags.
| Method Summary | |
|---|---|
static EventTag |
getByName(String tagName)
|
boolean |
matches(ActivemathEvent event)
Say if an event matches this tag. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
public static final EventTag USER
UserEventTag
public static final EventTag SESSION
SessionEventTag
public static final EventTag BOOK
BookEventTag
public static final EventTag ITEM
ItemEventTag
public static final EventTag NOTE
Note EventTag
public static final EventTag APPLICATION
ApplicationEventTag
public static final EventTag CONTENT
ContentEventTag
public static final EventTag INTERACTION
InteractionEventTag
public static final EventTag INTERACTION_BOOK
InteractionBookEventTag
public static final EventTag INTERACTION_DICT
InteractionDictionaryEventTag
public static final EventTag INTERACTION_EXERCISE
InteractionExerciseEventTag
public static final EventTag INTERACTION_FEEDBACK
InteractionFeedbackEventTag
public static final EventTag LEARNERMODEL
LearnermodelEventTag
public static final EventTag LEARNERMODEL_ASSESSMENT
LearnermodelAssessmentEventTag
public static final EventTag TUTORIAL_COMPONENT
TutorialComponentEventTag
public static final List VALUES
EventTag instances.
| Method Detail |
|---|
public String toString()
toString in class Objectpublic static final EventTag getByName(String tagName)
EventTag instance for tag tagName, or nullpublic boolean matches(ActivemathEvent event)
true if event can be cast to the tag interface of this tag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||