com.capitalone.dashboard.model.LibraryPolicyThreatLevel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core package shared by API layer and Microservices
package com.capitalone.dashboard.model;
/**
* Enumerates the possible statuses.
*/
public enum LibraryPolicyThreatLevel {
Critical, High, Medium, Low, None, Informational;
public static LibraryPolicyThreatLevel fromString(String value){
for(LibraryPolicyThreatLevel threatLevel : values()){
if(threatLevel.toString().equalsIgnoreCase(value)){
return threatLevel;
}
}
throw new IllegalArgumentException(value+" is not a valid LibraryPolicyThreatLevel");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy