Brian O'Connor | f3d0616 | 2014-10-02 15:54:12 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.intent; |
| 2 | //TODO is this the right package? |
| 3 | |
| 4 | /** |
| 5 | * An intent used in the unit test. |
| 6 | * |
| 7 | * FIXME: we don't want to expose this class publicly, but the current Kryo |
| 8 | * serialization mechanism does not allow this class to be private and placed |
| 9 | * on testing directory. |
| 10 | */ |
| 11 | public class TestIntent extends AbstractIntent { |
| 12 | /** |
| 13 | * Constructs an instance with the specified intent ID. |
| 14 | * |
| 15 | * @param id intent ID |
| 16 | */ |
| 17 | public TestIntent(IntentId id) { |
| 18 | super(id); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Constructor for serializer. |
| 23 | */ |
| 24 | protected TestIntent() { |
| 25 | super(); |
| 26 | } |
| 27 | } |