Package org.chenile.stm.model
Class EventInformation
java.lang.Object
org.chenile.stm.model.EventInformation
- Direct Known Subclasses:
Transition
An abstraction to extract actions and their meta data and share them across transitions.
An event and a transition are two different things.
Different transitions can potentially generate the same event.
This captures all the event information in one place. In this way, the same event information
does not have to be repeated for every transition.
- Author:
- Raja Shankar Kolluru
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMetaData
(String name, String value) void
setEventId
(String eventId) void
setTransitionAction
(STMTransitionAction<?> transitionAction) transitionAction
(STMTransitionAction<?> transitionAction)
-
Field Details
-
eventId
-
transitionAction
-
metadata
-
-
Constructor Details
-
EventInformation
public EventInformation()
-
-
Method Details
-
getEventId
-
setEventId
-
id
-
getTransitionAction
-
setTransitionAction
-
transitionAction
-
addMetaData
-
getMetadata
-