public static enum ErlangAWeb.SlFormula extends Enum<ErlangAWeb.SlFormula>
Enum Constant and Description |
---|
SL1
Formula 1.
|
SL2
Formula 2.
|
SLD
Formula based on diffusion equations by Garnett et al.
|
Modifier and Type | Method and Description |
---|---|
static ErlangAWeb.SlFormula |
fromString(String name)
Returns the enum object that corresponds to the given name parameter.
|
String |
toString() |
static ErlangAWeb.SlFormula |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErlangAWeb.SlFormula[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErlangAWeb.SlFormula SL1
PerformanceMeasureType.SERVICELEVEL
.public static final ErlangAWeb.SlFormula SL2
PerformanceMeasureType.SERVICELEVEL2
.public static final ErlangAWeb.SlFormula SLD
public static ErlangAWeb.SlFormula[] values()
for (ErlangAWeb.SlFormula c : ErlangAWeb.SlFormula.values()) System.out.println(c);
public static ErlangAWeb.SlFormula 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 String toString()
toString
in class Enum<ErlangAWeb.SlFormula>
public static ErlangAWeb.SlFormula fromString(String name)
name
- the name of the enum object to retrieve