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

Last change on this file since 589 was 560, checked in by sherbold, 12 years ago
  • rewrote replay decorator handling
File size: 902 bytes
RevLine 
[433]1package de.ugoe.cs.quest.eventcore;
[1]2
[86]3import java.io.Serializable;
4
[560]5import de.ugoe.cs.quest.IReplayDecorator;
6
[79]7/**
8 * <p>
9 * This interface is used by {@link ReplayableEvent}to describe how events can
10 * be replayed. It can be used to define a sequence of fine-grained platform
11 * events that make up an abstract event.
12 * </p>
13 *
14 * @author Steffen Herbold
15 * @version 1.0
16 */
[86]17public interface IReplayable extends Serializable {
[79]18
19        /**
20         * <p>
21         * Returns a string to be written to the replay script that describes the
22         * replayable platform event.
23         * </p>
24         *
25         * @return string for the replay script
26         */
[91]27        String getReplay();
[560]28       
29        /**
30         * <p>
31         * Returns the replay decorator associated with the replayable. Returns null if no replay decorator is associated with the replayable.
32         * </p>
33         *
34         * @return replay decorator
35         */
36        IReplayDecorator getDecorator();
[1]37}
Note: See TracBrowser for help on using the repository browser.