public static enum BusinessImpactFactor.NonCompliance extends Enum<BusinessImpactFactor.NonCompliance> implements ILikelihood
| Enum Constant and Description |
|---|
CLEAR_VIOLATION |
HIGH_PROFILE_VIOLATION |
MINOR_VIOLATION |
| Modifier and Type | Method and Description |
|---|---|
static BusinessImpactFactor.NonCompliance |
fromDouble(double level) |
static BusinessImpactFactor.NonCompliance |
fromString(String level) |
double |
getLikelihood() |
static BusinessImpactFactor.NonCompliance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessImpactFactor.NonCompliance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessImpactFactor.NonCompliance MINOR_VIOLATION
public static final BusinessImpactFactor.NonCompliance CLEAR_VIOLATION
public static final BusinessImpactFactor.NonCompliance HIGH_PROFILE_VIOLATION
public static BusinessImpactFactor.NonCompliance[] values()
for (BusinessImpactFactor.NonCompliance c : BusinessImpactFactor.NonCompliance.values()) System.out.println(c);
public static BusinessImpactFactor.NonCompliance valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double getLikelihood()
getLikelihood in interface ILikelihoodpublic static BusinessImpactFactor.NonCompliance fromDouble(double level)
public static BusinessImpactFactor.NonCompliance fromString(String level)
Copyright © 2019–2022. All rights reserved.