Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (27 sloc) 784 Bytes
package slatekit.common
import slatekit.common.args.Args
import slatekit.common.conf.Conf
import slatekit.common.encrypt.Encryptor
import slatekit.common.envs.Env
import slatekit.common.envs.Envs
import slatekit.common.info.*
import slatekit.common.log.Logs
/**
* Represents context of a running application and contains information used for most components
* args : command line arguments
* envs : environment selection ( dev, qa, staging, prod )
* conf : config settings
* logs : logger
* info : info about the application
* enc : encryption/decryption service
* dirs : directories used for the app
*/
interface Context {
val args: Args
val envs: Envs
val conf: Conf
val logs: Logs
val info: Info
val enc: Encryptor?
val dirs: Folders?
}
You can’t perform that action at this time.