|
| 1 | +/* |
| 2 | + * DISCLAIMER |
| 3 | + * |
| 4 | + * Copyright 2016 ArangoDB GmbH, Cologne, Germany |
| 5 | + * |
| 6 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + * you may not use this file except in compliance with the License. |
| 8 | + * You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
| 17 | + * |
| 18 | + * Copyright holder is ArangoDB GmbH, Cologne, Germany |
| 19 | + */ |
| 20 | + |
| 21 | +package com.arangodb.entity; |
| 22 | + |
| 23 | +/** |
| 24 | + * @author Mark - mark at arangodb.com |
| 25 | + * |
| 26 | + */ |
| 27 | +public class LogLevelEntity { |
| 28 | + |
| 29 | + public enum LogLevel { |
| 30 | + FATAL, ERROR, WARNING, INFO, DEBUG, DEFAULT; |
| 31 | + } |
| 32 | + |
| 33 | + private LogLevel agency; |
| 34 | + private LogLevel agencycomm; |
| 35 | + private LogLevel cluster; |
| 36 | + private LogLevel collector; |
| 37 | + private LogLevel communication; |
| 38 | + private LogLevel compactor; |
| 39 | + private LogLevel config; |
| 40 | + private LogLevel datafiles; |
| 41 | + private LogLevel graphs; |
| 42 | + private LogLevel heartbeat; |
| 43 | + private LogLevel mmap; |
| 44 | + private LogLevel performance; |
| 45 | + private LogLevel queries; |
| 46 | + private LogLevel replication; |
| 47 | + private LogLevel requests; |
| 48 | + private LogLevel startup; |
| 49 | + private LogLevel threads; |
| 50 | + private LogLevel v8; |
| 51 | + |
| 52 | + public LogLevelEntity() { |
| 53 | + super(); |
| 54 | + } |
| 55 | + |
| 56 | + public LogLevel getAgency() { |
| 57 | + return agency; |
| 58 | + } |
| 59 | + |
| 60 | + public void setAgency(final LogLevel agency) { |
| 61 | + this.agency = agency; |
| 62 | + } |
| 63 | + |
| 64 | + public LogLevel getAgencycomm() { |
| 65 | + return agencycomm; |
| 66 | + } |
| 67 | + |
| 68 | + public void setAgencycomm(final LogLevel agencycomm) { |
| 69 | + this.agencycomm = agencycomm; |
| 70 | + } |
| 71 | + |
| 72 | + public LogLevel getCluster() { |
| 73 | + return cluster; |
| 74 | + } |
| 75 | + |
| 76 | + public void setCluster(final LogLevel cluster) { |
| 77 | + this.cluster = cluster; |
| 78 | + } |
| 79 | + |
| 80 | + public LogLevel getCollector() { |
| 81 | + return collector; |
| 82 | + } |
| 83 | + |
| 84 | + public void setCollector(final LogLevel collector) { |
| 85 | + this.collector = collector; |
| 86 | + } |
| 87 | + |
| 88 | + public LogLevel getCommunication() { |
| 89 | + return communication; |
| 90 | + } |
| 91 | + |
| 92 | + public void setCommunication(final LogLevel communication) { |
| 93 | + this.communication = communication; |
| 94 | + } |
| 95 | + |
| 96 | + public LogLevel getCompactor() { |
| 97 | + return compactor; |
| 98 | + } |
| 99 | + |
| 100 | + public void setCompactor(final LogLevel compactor) { |
| 101 | + this.compactor = compactor; |
| 102 | + } |
| 103 | + |
| 104 | + public LogLevel getConfig() { |
| 105 | + return config; |
| 106 | + } |
| 107 | + |
| 108 | + public void setConfig(final LogLevel config) { |
| 109 | + this.config = config; |
| 110 | + } |
| 111 | + |
| 112 | + public LogLevel getDatafiles() { |
| 113 | + return datafiles; |
| 114 | + } |
| 115 | + |
| 116 | + public void setDatafiles(final LogLevel datafiles) { |
| 117 | + this.datafiles = datafiles; |
| 118 | + } |
| 119 | + |
| 120 | + public LogLevel getGraphs() { |
| 121 | + return graphs; |
| 122 | + } |
| 123 | + |
| 124 | + public void setGraphs(final LogLevel graphs) { |
| 125 | + this.graphs = graphs; |
| 126 | + } |
| 127 | + |
| 128 | + public LogLevel getHeartbeat() { |
| 129 | + return heartbeat; |
| 130 | + } |
| 131 | + |
| 132 | + public void setHeartbeat(final LogLevel heartbeat) { |
| 133 | + this.heartbeat = heartbeat; |
| 134 | + } |
| 135 | + |
| 136 | + public LogLevel getMmap() { |
| 137 | + return mmap; |
| 138 | + } |
| 139 | + |
| 140 | + public void setMmap(final LogLevel mmap) { |
| 141 | + this.mmap = mmap; |
| 142 | + } |
| 143 | + |
| 144 | + public LogLevel getPerformance() { |
| 145 | + return performance; |
| 146 | + } |
| 147 | + |
| 148 | + public void setPerformance(final LogLevel performance) { |
| 149 | + this.performance = performance; |
| 150 | + } |
| 151 | + |
| 152 | + public LogLevel getQueries() { |
| 153 | + return queries; |
| 154 | + } |
| 155 | + |
| 156 | + public void setQueries(final LogLevel queries) { |
| 157 | + this.queries = queries; |
| 158 | + } |
| 159 | + |
| 160 | + public LogLevel getReplication() { |
| 161 | + return replication; |
| 162 | + } |
| 163 | + |
| 164 | + public void setReplication(final LogLevel replication) { |
| 165 | + this.replication = replication; |
| 166 | + } |
| 167 | + |
| 168 | + public LogLevel getRequests() { |
| 169 | + return requests; |
| 170 | + } |
| 171 | + |
| 172 | + public void setRequests(final LogLevel requests) { |
| 173 | + this.requests = requests; |
| 174 | + } |
| 175 | + |
| 176 | + public LogLevel getStartup() { |
| 177 | + return startup; |
| 178 | + } |
| 179 | + |
| 180 | + public void setStartup(final LogLevel startup) { |
| 181 | + this.startup = startup; |
| 182 | + } |
| 183 | + |
| 184 | + public LogLevel getThreads() { |
| 185 | + return threads; |
| 186 | + } |
| 187 | + |
| 188 | + public void setThreads(final LogLevel threads) { |
| 189 | + this.threads = threads; |
| 190 | + } |
| 191 | + |
| 192 | + public LogLevel getV8() { |
| 193 | + return v8; |
| 194 | + } |
| 195 | + |
| 196 | + public void setV8(final LogLevel v8) { |
| 197 | + this.v8 = v8; |
| 198 | + } |
| 199 | + |
| 200 | +} |
0 commit comments