tejeshwer degala | 3fe1ed5 | 2016-04-22 17:04:01 +0530 | [diff] [blame] | 1 | /* |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame^] | 2 | * Copyright 2016-present Open Networking Foundation |
tejeshwer degala | 3fe1ed5 | 2016-04-22 17:04:01 +0530 | [diff] [blame] | 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 | package org.onosproject.isis.controller.impl; |
| 17 | |
| 18 | import org.onosproject.isis.controller.IsisInterface; |
| 19 | import org.onosproject.isis.controller.IsisProcess; |
| 20 | |
| 21 | import java.util.List; |
| 22 | |
| 23 | /** |
| 24 | * Represents of an ISIS process. |
| 25 | */ |
| 26 | public 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 | } |