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