Last change
on this file since 846 was
560,
checked in by sherbold, 12 years ago
|
- rewrote replay decorator handling
|
File size:
902 bytes
|
Line | |
---|
1 | package de.ugoe.cs.quest.eventcore;
|
---|
2 |
|
---|
3 | import java.io.Serializable;
|
---|
4 |
|
---|
5 | import de.ugoe.cs.quest.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 | */
|
---|
17 | public 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.