blob: 326592592d5c9ba0fe35d1a9c9f24e567e98a902 [file] [log] [blame]
Brian O'Connorf3d06162014-10-02 15:54:12 -07001package org.onlab.onos.net.intent;
2//TODO is this the right package?
3
tom95329eb2014-10-06 08:40:06 -07004import org.onlab.onos.net.Link;
5
6import java.util.Collection;
7
Brian O'Connorf3d06162014-10-02 15:54:12 -07008/**
9 * An installable intent used in the unit test.
10 *
11 * FIXME: we don't want to expose this class publicly, but the current Kryo
12 * serialization mechanism does not allow this class to be private and placed
13 * on testing directory.
14 */
15public class TestInstallableIntent extends AbstractIntent implements InstallableIntent {
16 /**
17 * Constructs an instance with the specified intent ID.
18 *
19 * @param id intent ID
20 */
21 public TestInstallableIntent(IntentId id) {
22 super(id);
23 }
24
25 /**
26 * Constructor for serializer.
27 */
28 protected TestInstallableIntent() {
29 super();
30 }
31
tom95329eb2014-10-06 08:40:06 -070032 @Override
33 public Collection<Link> requiredLinks() {
34 return null;
35 }
Brian O'Connorf3d06162014-10-02 15:54:12 -070036}