@@ -0,0 +1,649 @@
+package com.cflint;%0A%0Apublic enum Levels %7B%0A    FATAL(%22FATAL%22),%0A    CRITICAL(%22CRITICAL%22),%0A    ERROR(%22ERROR%22),%0A    WARNING(%22WARNING%22),%0A    CAUTION(%22CAUTION%22),%0A    INFO(%22INFO%22),%0A    COSMETIC(%22COSMETIC%22),%0A    UNKNOWN(%22UNKNOWN%22);%0A%0A    private final String severity;%0A%0A    private Levels(String name) %7B%0A        severity = name;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A       return this.severity;%0A    %7D%0A%0A    public static Levels fromString(String severity) %7B%0A        for (Levels level : Levels.values()) %7B%0A            if (level.toString().equals(severity)) %7B%0A                return level;%0A            %7D%0A        %7D%0A%0A        return UNKNOWN;%0A    %7D%0A%7D

add enum of levels