blob: 3f9bf792436d3ef9874fc99cba4cc734e12b2282 [file] [log] [blame]
Toshio Koide485b4782014-10-20 19:34:21 -07001package org.onlab.onos.net.resource;
2
3import java.util.Collection;
4import java.util.Set;
5
6import org.onlab.onos.net.Link;
7import org.onlab.onos.net.intent.IntentId;
8
9/**
10 * Representation of a request for link resource.
11 */
12public interface LinkResourceRequest extends ResourceRequest {
13
14 /**
15 * Returns the {@link IntentId} associated with the request.
16 *
17 * @return the {@link IntentId} associated with the request
18 */
19 IntentId intendId();
20
21 /**
22 * Returns the set of target links.
23 *
24 * @return the set of target links
25 */
26 Collection<Link> links();
27
28 /**
29 * Returns the set of resource requests.
30 *
31 * @return the set of resource requests
32 */
33 Set<ResourceRequest> resources();
34}