All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.co.touchlab.skie.configuration.AnalyticsTier.kt Maven / Gradle / Ivy

There is a newer version: 0.9.3
Show newest version
package co.touchlab.skie.configuration

enum class AnalyticsTier(val configurationFlags: Set) {

    None,

    Anonymous(
        SkieConfigurationFlag.Analytics_GradlePerformance,
        SkieConfigurationFlag.Analytics_GradleEnvironment,
        SkieConfigurationFlag.Analytics_CompilerEnvironment,
        SkieConfigurationFlag.Analytics_Hardware,
        SkieConfigurationFlag.Analytics_SkiePerformance,
        SkieConfigurationFlag.Analytics_SkieConfiguration,
        SkieConfigurationFlag.Analytics_CompilerConfiguration,
        SkieConfigurationFlag.Analytics_Git,
        SkieConfigurationFlag.Analytics_Project,
        SkieConfigurationFlag.Analytics_Modules,
    );

    constructor(vararg configurationFlags: SkieConfigurationFlag) : this(configurationFlags.toSet())

    constructor(
        parent: AnalyticsTier,
        vararg configurationFlags: SkieConfigurationFlag,
    ) : this(parent.configurationFlags + configurationFlags.toSet())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy