blob: 815d31768a3338ba2c14a3003341bae2c5d656d5 [file] [log] [blame]
Sho SHIMIZU95d53c82014-08-21 09:18:47 -07001package net.onrc.onos.core.newintent;
2
3import net.onrc.onos.api.newintent.IntentId;
4
5/**
6 * A intent used in the unit test.
7 *
8 * FIXME: we don't want to expose this class publicly, but the current Kryo
9 * serialization mechanism does not allow this class to be private and placed
10 * on testing directory.
11 */
12public class TestSubclassIntent extends TestIntent {
13 /**
14 * Constructs an instance with the specified intent ID.
15 *
16 * @param id intent ID
17 */
18 public TestSubclassIntent(IntentId id) {
19 super(id);
20 }
21
22 /**
23 * Constructor for serializer.
24 */
25 protected TestSubclassIntent() {
26 super();
27 }
28}