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
FieldsModifier and TypeFieldDescription(package private) ApplicationContextprivate Stringprivate Stringprivate Map<String,ChenileEventDefinition> private StringLeaving room for other extensions hereprivate List<Command<ChenileExchange>>private Stringprivate List<Command<ChenileExchange>>private Stringprivate Map<String,ChenileServiceDefinition> private final Map<String,TrajectoryDefinition> private String -
Constructor Summary
ConstructorsConstructorDescriptionChenileConfiguration(String moduleName, ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvent(ChenileEventDefinition event) voidaddPostProcessors(String postProcessors) voidaddPreProcessors(String preProcessors) voidaddTrajectory(TrajectoryDefinition trajectoryDefinition) voidsetChenileExceptionHandlerName(String exceptionHandlerName) voidsetEventLoggerName(String eventLoggerName) voidsetOtherExtensions(Map<String, Map<String, ?>> otherExtensions) voidsetService(String serviceName, ChenileServiceDefinition service) voidsetVersion(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
-