source: trunk/quest-core-assertions/src/main/java/de/ugoe/cs/quest/assertions/AssertEvent.java @ 518

Last change on this file since 518 was 518, checked in by sherbold, 12 years ago
  • initial commit of quest-core-assertions, quest-core-assertions-test, quest-core-coverage, quest-core-coverage-test, quest-core-usageprofiles, and quest-core-usageprofiles-test
  • Property svn:mime-type set to text/plain
File size: 900 bytes
Line 
1package de.ugoe.cs.quest.assertions;
2
3import de.ugoe.cs.quest.eventcore.Event;
4import de.ugoe.cs.quest.eventcore.IReplayable;
5import de.ugoe.cs.quest.eventcore.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         * <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.