io.sarl.sre.janus.boot.configs
Class SreConfig
class SreConfig
extends java.lang.Object
Configuration for the SARL run-time environment.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.9
Property Summary
Modifier and type Property and description
BootConfig boot
Replies the boot configuration.
java.lang.String classpath
ContextsConfig contexts
Replies the SRE context repository's configuration.
ServicesConfig services
Replies the SRE services' configuration.
Field Summary
Modifier and type Field and description
public static val java.lang.String CLASSPATH_NAME
Name of the property that contains the classpath.
public static val java.lang.String DEFAULT_PROGRAM_NAME
Default name of the program.
public static val java.lang.String PREFIX
Prefix for the configuration entries of the modules.
Action Summary
Modifier and type Action and description
BootConfig getBoot
Replies the boot configuration.
java.lang.String getClasspath
static SreConfig getConfiguration(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(BootConfig)
Change the validator configuration.
void setClasspath(String)
Change the class path.
void setContexts(ContextsConfig)
Change the context repository's configuration.
void setServices(ServicesConfig)
Change the services' configuration.
Property Details
boot
var boot : BootConfig
Replies the boot configuration.

This property is an alias for the action: getBoot

Returns:
the boot configuration.
classpath
var classpath : java.lang.String

This property is an alias for the action: getClasspath

contexts
var contexts : ContextsConfig
Replies the SRE context repository's configuration.

This property is an alias for the action: getContexts

Returns:
the SRE context repository's configuration.
Since:
0.11
services
var services : ServicesConfig
Replies the SRE services' configuration.

This property is an alias for the action: getServices

Returns:
the SRE services' configuration.
Field Details
CLASSPATH_NAME
public static val CLASSPATH_NAME : java.lang.String = "sre.classpath"
Name of the property that contains the classpath.
DEFAULT_PROGRAM_NAME
public static val DEFAULT_PROGRAM_NAME : java.lang.String = "janus"
Default name of the program.
PREFIX
public static val PREFIX : java.lang.String = "sre"
Prefix for the configuration entries of the modules.
Action Details
getBoot
def getBoot : BootConfig
Replies the boot configuration.
Returns:
the boot configuration.
getClasspath
def getClasspath : java.lang.String
getConfiguration(ConfigurationFactory)
def getConfiguration(ConfigurationFactory) : SreConfig
Replies the configuration for the SARL run-time environment.
Parameters:
configFactory - the general configuration factory.
Returns:
the configuration.
getContexts
def getContexts : ContextsConfig
Replies the SRE context repository's configuration.
Returns:
the SRE context repository's configuration.
Since:
0.11
getServices
def getServices : ServicesConfig
Replies the SRE services' configuration.
Returns:
the SRE services' configuration.
setBoot(BootConfig)
def setBoot(BootConfig)
Change the validator configuration.
Parameters:
config - the validator configuration.
setClasspath(String)
def setClasspath(String)
Change the class path.
Parameters:
path - the class path.
setContexts(ContextsConfig)
def setContexts(ContextsConfig)
Change the context repository's configuration.
Parameters:
config - the context repository's' configuration.
Since:
0.11
setServices(ServicesConfig)
def setServices(ServicesConfig)
Change the services' configuration.
Parameters:
config - the services' configuration.