public enum PredefinedUnits extends java.lang.Enum<PredefinedUnits> implements org.eclipse.emf.common.util.Enumerator
StatisticsPackage.getPredefinedUnits()| Enum Constant and Description |
|---|
CPU_UTIL
The 'CPU UTIL' literal object.
|
RESPONSE_TIME
The 'RESPONSE TIME' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CPU_UTIL_VALUE
The 'CPU UTIL' literal value.
|
static int |
RESPONSE_TIME_VALUE
The 'RESPONSE TIME' literal value.
|
static java.util.List<PredefinedUnits> |
VALUES
A public read-only list of all the 'Predefined Units' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static PredefinedUnits |
get(int value)
Returns the 'Predefined Units' literal with the specified integer value.
|
static PredefinedUnits |
get(java.lang.String literal)
Returns the 'Predefined Units' literal with the specified literal value.
|
static PredefinedUnits |
getByName(java.lang.String name)
Returns the 'Predefined Units' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static PredefinedUnits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PredefinedUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredefinedUnits CPU_UTIL
CPU_UTIL_VALUEpublic static final PredefinedUnits RESPONSE_TIME
RESPONSE_TIME_VALUEpublic static final int CPU_UTIL_VALUE
If the meaning of 'CPU UTIL' literal object isn't clear, there really should be more of a description here...
CPU_UTIL,
Constant Field Valuespublic static final int RESPONSE_TIME_VALUE
If the meaning of 'RESPONSE TIME' literal object isn't clear, there really should be more of a description here...
RESPONSE_TIME,
Constant Field Valuespublic static final java.util.List<PredefinedUnits> VALUES
public static PredefinedUnits[] values()
for (PredefinedUnits c : PredefinedUnits.values()) System.out.println(c);
public static PredefinedUnits valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static PredefinedUnits get(java.lang.String literal)
literal - the literal.null.public static PredefinedUnits getByName(java.lang.String name)
name - the name.null.public static PredefinedUnits get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<PredefinedUnits>Copyright 2020 Kieker Project, http://kieker-monitoring.net