blob: 9c12603e556b108f5a0952205c525c9a240dbf11 [file] [log] [blame]
Thomas Vachuska2b4de872021-03-30 16:31:34 -07001/*
2 * Copyright 2021-present Open Networking Foundation
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 */
16
17package org.onosproject.ui;
18
19import org.onosproject.ui.topo.Highlights;
20
21/**
22 * Abstraction of an entity capable of generating a set of topology highlights
23 * for devices, hosts and links.
24 */
25public interface UiTopoHighlighter {
26
27 /**
28 * Returns the self-assigned name of the hilighter.
29 *
30 * @return highlighter name
31 */
32 String name();
33
34 /**
35 * Generate a set of highlights.
36 *
37 * @return topology highlights
38 */
39 Highlights createHighlights();
40
41}