1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package org.onap.sdc.common.onaplog.enums; public enum Severity { OK(0), WARNING(1), CRITICAL(2), DOWN(3), UNREACHABLE(4); int severityType; Severity(int serveryType) { this.severityType = serveryType; } public int getSeverityType() { return severityType; } }