-
public final class VitalAppLaunchEvent.VitalVital properties Vital properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVitalAppLaunchEvent.Vital.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Stringidprivate final Stringnameprivate final Stringdescriptionprivate final VitalAppLaunchEvent.AppLaunchMetricappLaunchMetricprivate final Numberdurationprivate final VitalAppLaunchEvent.StartupTypestartupTypeprivate final BooleanisPrewarmedprivate final BooleanhasSavedInstanceStateBundle
-
Constructor Summary
Constructors Constructor Description VitalAppLaunchEvent.Vital(String id, String name, String description, VitalAppLaunchEvent.AppLaunchMetric appLaunchMetric, Number duration, VitalAppLaunchEvent.StartupType startupType, Boolean isPrewarmed, Boolean hasSavedInstanceStateBundle)
-
Method Summary
Modifier and Type Method Description final StringgetType()final StringgetId()final StringgetName()final StringgetDescription()final VitalAppLaunchEvent.AppLaunchMetricgetAppLaunchMetric()final NumbergetDuration()final VitalAppLaunchEvent.StartupTypegetStartupType()final BooleangetIsPrewarmed()final BooleangetHasSavedInstanceStateBundle()final JsonElementtoJson()-
-
Constructor Detail
-
VitalAppLaunchEvent.Vital
VitalAppLaunchEvent.Vital(String id, String name, String description, VitalAppLaunchEvent.AppLaunchMetric appLaunchMetric, Number duration, VitalAppLaunchEvent.StartupType startupType, Boolean isPrewarmed, Boolean hasSavedInstanceStateBundle)
- Parameters:
id- UUID of the vitalname- Name of the vital, as it is also used as facet path for its value, it must contain only letters, digits, or the characters - _ .description- Description of the vital.appLaunchMetric- The metric of the app launch.duration- Duration of the vital in nanoseconds.startupType- The type of the app launch.isPrewarmed- Whether the app launch was prewarmed.hasSavedInstanceStateBundle- If the app launch had a saved instance state bundle.
-
-
Method Detail
-
getDescription
final String getDescription()
-
getAppLaunchMetric
final VitalAppLaunchEvent.AppLaunchMetric getAppLaunchMetric()
-
getDuration
final Number getDuration()
-
getStartupType
final VitalAppLaunchEvent.StartupType getStartupType()
-
getIsPrewarmed
final Boolean getIsPrewarmed()
-
getHasSavedInstanceStateBundle
final Boolean getHasSavedInstanceStateBundle()
-
toJson
final JsonElement toJson()
-
-
-
-