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