blob: cf9d334fc0dd6301498477a23ee4153ad980704f [file] [log] [blame]
Sho SHIMIZUf33b8932016-01-25 18:43:32 -08001/*
2 * Copyright 2016 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.net.newresource;
17
18import com.google.common.annotations.Beta;
19import com.google.common.collect.ImmutableList;
20
21/**
22 * ResourceId for {@link DiscreteResource}.
23 *
24 * Note: This class is exposed to the public, but intended to be used in the resource API
25 * implementation only. It is not for resource API user.
26 */
27@Beta
28// TODO: consider how to restrict the visibility
29public final class DiscreteResourceId extends ResourceId {
30 DiscreteResourceId(ImmutableList<Object> components) {
31 super(components);
32 }
33
34 DiscreteResourceId() {
35 super();
36 }
37}