source: trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/AssertEvent.java @ 219

Last change on this file since 219 was 219, checked in by jhall, 13 years ago

Formated by 'Source -> Format'

  • Property svn:mime-type set to text/plain
File size: 886 bytes
Line 
1package de.ugoe.cs.eventbench.assertions;
2
3import de.ugoe.cs.eventbench.data.Event;
4import de.ugoe.cs.eventbench.data.IReplayable;
5import 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 */
20public class AssertEvent<T extends IReplayable> extends ReplayableEvent<T> {
21
22        /**
23         * Id for object serialization.
24         */
25        private static final long serialVersionUID = 1L;
26
27        /**
28         * <p>
29         * Constructor. Creates a new event with the given type.
30         * <p>
31         *
32         * @param type
33         *            type of the event
34         * @see Event#Event(String)
35         */
36        public AssertEvent(String type) {
37                super(type);
38        }
39}
Note: See TracBrowser for help on using the repository browser.