source: trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/IReplayable.java @ 541

Last change on this file since 541 was 541, checked in by sherbold, 12 years ago
  • beginning of the complete rewriting of the event core. The string representations for the event type and event target are replaced by interfaces IEventType and IEventTarget which have to be implemented by platform level implementations accordingly. Note, that this is just the first commit of this major refactoring of QUEST and it will break a lot of the source code.
File size: 616 bytes
Line 
1package de.ugoe.cs.quest.eventcore;
2
3import java.io.Serializable;
4
5/**
6 * <p>
7 * This interface is used by {@link ReplayableEvent}to describe how events can
8 * be replayed. It can be used to define a sequence of fine-grained platform
9 * events that make up an abstract event.
10 * </p>
11 *
12 * @author Steffen Herbold
13 * @version 1.0
14 */
15public interface IReplayable extends Serializable {
16
17        /**
18         * <p>
19         * Returns a string to be written to the replay script that describes the
20         * replayable platform event.
21         * </p>
22         *
23         * @return string for the replay script
24         */
25        String getReplay();
26}
Note: See TracBrowser for help on using the repository browser.