Last change
on this file since 576 was
480,
checked in by sherbold, 12 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
1013 bytes
|
Rev | Line | |
---|
[432] | 1 | package de.ugoe.cs.quest;
|
---|
[55] | 2 |
|
---|
[86] | 3 | import java.io.Serializable;
|
---|
| 4 |
|
---|
[106] | 5 | /**
|
---|
| 6 | * <p>
|
---|
| 7 | * This interface defines the structure of decorators used when writing replay
|
---|
| 8 | * files.
|
---|
| 9 | * </p>
|
---|
| 10 | *
|
---|
| 11 | * @author Steffen Herbold
|
---|
| 12 | * @version 1.0
|
---|
| 13 | */
|
---|
[86] | 14 | public interface IReplayDecorator extends Serializable {
|
---|
[106] | 15 |
|
---|
| 16 | /**
|
---|
| 17 | * <p>
|
---|
| 18 | * Header of the file. Called at the beginning of the writing.
|
---|
| 19 | * </p>
|
---|
| 20 | *
|
---|
| 21 | * @return file header
|
---|
| 22 | */
|
---|
[55] | 23 | String getHeader();
|
---|
[106] | 24 |
|
---|
| 25 | /**
|
---|
| 26 | * <p>
|
---|
| 27 | * Footer of the file. Called at the end of the writing.
|
---|
| 28 | * </p>
|
---|
| 29 | *
|
---|
| 30 | * @return file footer
|
---|
| 31 | */
|
---|
[55] | 32 | String getFooter();
|
---|
[106] | 33 |
|
---|
| 34 | /**
|
---|
| 35 | * <p>
|
---|
| 36 | * Session Header. Called before each session.
|
---|
| 37 | * </p>
|
---|
| 38 | *
|
---|
| 39 | * @param sessionId
|
---|
| 40 | * id of the session
|
---|
| 41 | * @return session header
|
---|
| 42 | */
|
---|
[97] | 43 | String getSessionHeader(int sessionId);
|
---|
[106] | 44 |
|
---|
| 45 | /**
|
---|
| 46 | * <p>
|
---|
| 47 | * Session Footer. Called after each session.
|
---|
| 48 | * </p>
|
---|
| 49 | *
|
---|
| 50 | * @param sessionId
|
---|
| 51 | * id of the session
|
---|
| 52 | * @return session footer
|
---|
| 53 | */
|
---|
[97] | 54 | String getSessionFooter(int sessionId);
|
---|
[55] | 55 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.