Package org.chenile.core.model
Class ChenileConfiguration
java.lang.Object
org.chenile.core.model.ChenileConfiguration
The core class that contains the entire ChenileConfiguration.
This contains the configuration information from chenile.properties as well as
a reference to all the configured services and events in Chenile
- Author:
- Raja Shankar Kolluru
-
Field Summary
Modifier and TypeFieldDescription(package private) ApplicationContext
private String
private String
private Map<String,
ChenileEventDefinition> private String
Leaving room for other extensions hereprivate List<Command<ChenileExchange>>
private String
private List<Command<ChenileExchange>>
private String
private Map<String,
ChenileServiceDefinition> private final Map<String,
TrajectoryDefinition> private String
-
Constructor Summary
ConstructorDescriptionChenileConfiguration
(String moduleName, ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(ChenileEventDefinition event) void
addPostProcessors
(String postProcessors) void
addPreProcessors
(String preProcessors) void
addTrajectory
(TrajectoryDefinition trajectoryDefinition) void
setChenileExceptionHandlerName
(String exceptionHandlerName) void
setEventLoggerName
(String eventLoggerName) void
setOtherExtensions
(Map<String, Map<String, ?>> otherExtensions) void
setService
(String serviceName, ChenileServiceDefinition service) void
setVersion
(String version)
-
Field Details
-
applicationContext
ApplicationContext applicationContext -
moduleName
-
preProcessorCommands
-
postProcessorCommands
-
preProcessorNames
-
postProcessorNames
-
version
-
services
-
events
-
otherExtensions
Leaving room for other extensions here -
chenileExceptionHandlerName
-
eventLoggerName
-
trajectoryDefinitions
-
-
Constructor Details
-
ChenileConfiguration
-
-
Method Details
-
getEventLoggerName
-
setEventLoggerName
-
getServices
-
setService
-
getModuleName
-
addPreProcessors
-
addPostProcessors
-
getPreProcessorCommands
-
getPostProcessorCommands
-
getEvents
-
addEvent
-
getOtherExtensions
-
setOtherExtensions
-
setChenileExceptionHandlerName
-
getChenileExceptionHandler
-
getVersion
-
setVersion
-
getEventLogger
-
getTrajectories
-
addTrajectory
-