Catalog alignment
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / common / datastructure / MonitoringFieldsKeysEnum.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.common.datastructure;
22
23 import java.util.Date;
24
25 public enum MonitoringFieldsKeysEnum {
26         MONITORING_TIMESTAMP(Date.class, "TIMESTAMP"), 
27         MONITORING_HOST_IP(String.class, "HOST_IP"), 
28         MONITORING_HOST_CPU(Long.class, "HOST_CPU"), 
29         MONITORING_HOST_MEM(Long.class, "HOST_MEMORY"), 
30         MONITORING_HOST_DISC(Long.class, "HOST_DISC"), 
31         MONITORING_JVM_ID(String.class, "JVM_ID"), 
32         MONITORING_JVM_CPU(Long.class, "JVM_CPU"), 
33         MONITORING_JVM_MEM(Long.class, "JVM_MEMORY"), 
34         MONITORING_JVM_TNUM(Long.class, "JVM_TNUM"), 
35         MONITORING_APP_ID(String.class, "APP_ID"), 
36         MONITORING_APP_STAT(String.class, "APP_STAT");
37
38         private Class<?> clazz;
39         private String displayName;
40
41         MonitoringFieldsKeysEnum(Class<?> clazz, String displayName) {
42                 this.clazz = clazz;
43                 this.displayName = displayName;
44         }
45
46         public Class<?> getValueClass() {
47                 return this.clazz;
48         }
49
50         public String getDisplayName() {
51                 return displayName;
52         }
53
54         public void setDisplayName(String displayName) {
55                 this.displayName = displayName;
56         }
57 }