Last change
on this file since 397 was
285,
checked in by sherbold, 13 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
905 bytes
|
Line | |
---|
1 | package de.ugoe.cs.eventbench.assertions;
|
---|
2 |
|
---|
3 | import de.ugoe.cs.eventbench.data.Event;
|
---|
4 | import de.ugoe.cs.eventbench.data.IReplayable;
|
---|
5 | import de.ugoe.cs.eventbench.data.ReplayableEvent;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * <p>
|
---|
9 | * Subclass of {@link ReplayableEvent} for assertions
|
---|
10 | * </p>
|
---|
11 | *
|
---|
12 | * @author Jeffrey Hall
|
---|
13 | * @version 1.0
|
---|
14 | *
|
---|
15 | * @param <T>
|
---|
16 | * Allows only types that extend {@link IReplayable} and is used to
|
---|
17 | * define the type of the assertion.
|
---|
18 | *
|
---|
19 | */
|
---|
20 | public class AssertEvent<T extends IReplayable> extends ReplayableEvent<T> {
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * <p>
|
---|
24 | * Id for object serialization.
|
---|
25 | * </p>
|
---|
26 | */
|
---|
27 | private static final long serialVersionUID = 1L;
|
---|
28 |
|
---|
29 | /**
|
---|
30 | * <p>
|
---|
31 | * Constructor. Creates a new event with the given type.
|
---|
32 | * <p>
|
---|
33 | *
|
---|
34 | * @param type
|
---|
35 | * type of the event
|
---|
36 | * @see Event#Event(String)
|
---|
37 | */
|
---|
38 | public AssertEvent(String type) {
|
---|
39 | super(type);
|
---|
40 | }
|
---|
41 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.