public class SreConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASSPATH_NAME
Name of the property that contains the classpath.
|
static String |
DEFAULT_PROGRAM_NAME
Default name of the program.
|
static String |
PREFIX
Prefix for the configuration entries of the modules.
|
Modifier and Type | Method and Description |
---|---|
BootConfig |
getBoot()
Replies the boot configuration.
|
String |
getClasspath() |
static SreConfig |
getConfiguration(configFactory : io.bootique.config.ConfigurationFactory)
Replies the configuration for the SARL run-time environment.
|
ContextsConfig |
getContexts()
Replies the SRE context repository's configuration.
|
ServicesConfig |
getServices()
Replies the SRE services' configuration.
|
void |
setBoot(config : BootConfig)
Change the validator configuration.
|
void |
setClasspath(path : String)
Change the class path.
|
void |
setContexts(config : ContextsConfig)
Change the context repository's configuration.
|
void |
setServices(config : ServicesConfig)
Change the services' configuration.
|
public static val
PREFIX : String
SreConfig
public static val
CLASSPATH_NAME : String
SreConfig
public static val
DEFAULT_PROGRAM_NAME : String
SreConfig
public def
setClasspath(path : String) : void
SreConfig
path
- the class path.@Pure
public static def
getConfiguration(configFactory : io.bootique.config.ConfigurationFactory) : SreConfig
SreConfig
configFactory
- the general configuration factory.@Pure
public def
getBoot() : BootConfig
SreConfig
public def
setBoot(config : BootConfig) : void
SreConfig
config
- the validator configuration.@Pure
public def
getServices() : ServicesConfig
SreConfig
public def
setServices(config : ServicesConfig) : void
SreConfig
config
- the services' configuration.@Pure
public def
getContexts() : ContextsConfig
SreConfig
public def
setContexts(config : ContextsConfig) : void
SreConfig
config
- the context repository's' configuration.@Pure
public def
getClasspath() : String
Copyright © 2021 the original authors or authors.