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

Last change on this file since 922 was 922, checked in by sherbold, 12 years ago
  • renaming of packages from de.ugoe.cs.quest to de.ugoe.cs.autoquest
File size: 910 bytes
Line 
1package de.ugoe.cs.autoquest.eventcore;
2
3import java.io.Serializable;
4
5import de.ugoe.cs.autoquest.IReplayDecorator;
6
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 */
17public interface IReplayable extends Serializable {
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         */
27        String getReplay();
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();
37}
Note: See TracBrowser for help on using the repository browser.