blob: ebe43ca67661353eb8776b21b00a621546b21d71 [file] [log] [blame]
tejeshwer degala3fe1ed52016-04-22 17:04:01 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
tejeshwer degala3fe1ed52016-04-22 17:04:01 +05303 *
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.isis.controller.impl;
17
18import org.onosproject.isis.controller.IsisInterface;
19import org.onosproject.isis.controller.IsisProcess;
20
21import java.util.List;
22
23/**
24 * Represents of an ISIS process.
25 */
26public class DefaultIsisProcess implements IsisProcess {
27 private String processId;
28 private List<IsisInterface> isisInterfaceList;
29
30 /**
31 * Gets process ID.
32 *
33 * @return process ID
34 */
35 public String processId() {
36 return processId;
37 }
38
39 /**
40 * Sets process ID.
41 *
42 * @param processId process ID
43 */
44 public void setProcessId(String processId) {
45 this.processId = processId;
46 }
47
48 /**
49 * Gets list of ISIS interface details.
50 *
51 * @return list of ISIS interface details
52 */
53 public List<IsisInterface> isisInterfaceList() {
54 return isisInterfaceList;
55 }
56
57 /**
58 * Sets list of ISIS interface details.
59 *
60 * @param isisInterfaceList list of ISIS interface details
61 */
62 public void setIsisInterfaceList(List<IsisInterface> isisInterfaceList) {
63 this.isisInterfaceList = isisInterfaceList;
64 }
65}