Sho SHIMIZU | 95d53c8 | 2014-08-21 09:18:47 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.newintent; |
| 2 | |
| 3 | import 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 | */ |
| 12 | public 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 | } |