public static enum ProfileData.ProfileSource extends Enum<ProfileData.ProfileSource>
| Enum Constant and Description |
|---|
INJECTED
The profiling information was injected via annotations, or in some other way during
compilation based on domain knowledge (e.g., exception paths are very improbable).
|
PROFILED
The profiling information comes from mature profiling information.
|
UNKNOWN
The profiling information comes from immature profiling information or some unknown
source.
|
| Modifier and Type | Method and Description |
|---|---|
ProfileData.ProfileSource |
combine(ProfileData.ProfileSource other)
Combine the sources of knowledge about profiles.
|
static boolean |
isTrusted(ProfileData.ProfileSource source) |
static ProfileData.ProfileSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileData.ProfileSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileData.ProfileSource INJECTED
public static final ProfileData.ProfileSource PROFILED
public static final ProfileData.ProfileSource UNKNOWN
public static ProfileData.ProfileSource[] values()
public static ProfileData.ProfileSource 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 ProfileData.ProfileSource combine(ProfileData.ProfileSource other)
public static boolean isTrusted(ProfileData.ProfileSource source)