• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 package ohos.devtools.services.systemconfig;
17 
18 import java.util.ArrayList;
19 
20 /**
21  * SystemConfigData
22  *
23  * @since 2021/11/25
24  */
25 public class SystemConfigData {
26     private ArrayList<String> eventsList;
27     private ArrayList<ArrayList<String>> hTraceEventsList;
28     private int maxDuration;
29     private int inMemoryValue;
30     private boolean memoryInfo;
31     private boolean vmemoryInfo;
32     private String hilogLevel;
33 
getEventsList()34     public ArrayList<String> getEventsList() {
35         return eventsList;
36     }
37 
setEventsList(ArrayList<String> eventsList)38     public void setEventsList(ArrayList<String> eventsList) {
39         this.eventsList = eventsList;
40     }
41 
gethTraceEventsList()42     public ArrayList<ArrayList<String>> gethTraceEventsList() {
43         return hTraceEventsList;
44     }
45 
sethTraceEventsList(ArrayList<ArrayList<String>> hTraceEventsList)46     public void sethTraceEventsList(ArrayList<ArrayList<String>> hTraceEventsList) {
47         this.hTraceEventsList = hTraceEventsList;
48     }
49 
getMaxDuration()50     public int getMaxDuration() {
51         return maxDuration;
52     }
53 
setMaxDuration(int maxDuration)54     public void setMaxDuration(int maxDuration) {
55         this.maxDuration = maxDuration;
56     }
57 
getInMemoryValue()58     public int getInMemoryValue() {
59         return inMemoryValue;
60     }
61 
setInMemoryValue(int inMemoryValue)62     public void setInMemoryValue(int inMemoryValue) {
63         this.inMemoryValue = inMemoryValue;
64     }
65 
isMemoryInfo()66     public boolean isMemoryInfo() {
67         return memoryInfo;
68     }
69 
setMemoryInfo(boolean memoryInfo)70     public void setMemoryInfo(boolean memoryInfo) {
71         this.memoryInfo = memoryInfo;
72     }
73 
isVmemoryInfo()74     public boolean isVmemoryInfo() {
75         return vmemoryInfo;
76     }
77 
setVmemoryInfo(boolean vmemoryInfo)78     public void setVmemoryInfo(boolean vmemoryInfo) {
79         this.vmemoryInfo = vmemoryInfo;
80     }
81 
getHilogLevel()82     public String getHilogLevel() {
83         return hilogLevel;
84     }
85 
setHilogLevel(String hilogLevel)86     public void setHilogLevel(String hilogLevel) {
87         this.hilogLevel = hilogLevel;
88     }
89 }
90