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

io.provenance.eventstream.config.Environment.kt Maven / Gradle / Ivy

package io.provenance.eventstream.config

/**
 * An enumeration encoding various runtime environments.
 */
enum class Environment {
    local {
        override fun isLocal(): Boolean = true
    },
    development {
        override fun isDevelopment(): Boolean = true
    },
    production {
        override fun isProduction() = true
    };

    open fun isLocal(): Boolean = false
    open fun isDevelopment(): Boolean = false
    open fun isProduction(): Boolean = false
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy