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