public static enum BusinessImpactFactor.FinancialDamage extends Enum<BusinessImpactFactor.FinancialDamage> implements ILikelihood
| Enum Constant and Description |
|---|
BANKRUPTCY |
LESS_THAN_THE_COST_TO_FIX_THE_VULNERABILITY |
MINOR_EFFECT_ON_ANNUAL_PROFIT |
SIGNIFICANT_EFFECT_ON_ANNUAL_PROFIT |
| Modifier and Type | Method and Description |
|---|---|
static BusinessImpactFactor.FinancialDamage |
fromDouble(double level) |
static BusinessImpactFactor.FinancialDamage |
fromString(String level) |
double |
getLikelihood() |
static BusinessImpactFactor.FinancialDamage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessImpactFactor.FinancialDamage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessImpactFactor.FinancialDamage LESS_THAN_THE_COST_TO_FIX_THE_VULNERABILITY
public static final BusinessImpactFactor.FinancialDamage MINOR_EFFECT_ON_ANNUAL_PROFIT
public static final BusinessImpactFactor.FinancialDamage SIGNIFICANT_EFFECT_ON_ANNUAL_PROFIT
public static final BusinessImpactFactor.FinancialDamage BANKRUPTCY
public static BusinessImpactFactor.FinancialDamage[] values()
for (BusinessImpactFactor.FinancialDamage c : BusinessImpactFactor.FinancialDamage.values()) System.out.println(c);
public static BusinessImpactFactor.FinancialDamage 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.FinancialDamage fromDouble(double level)
public static BusinessImpactFactor.FinancialDamage fromString(String level)
Copyright © 2019–2022. All rights reserved.