- Type Parameters:
X- the type of the environment implementation that extends this interface, used to enable method chaining by returning the same type upon setting a property.
- All Superinterfaces:
Environment
- All Known Subinterfaces:
Knowledge,RuleBuilder<C>,RuleSession<S>,RuleSetBuilder<C>,RuleSetContext<C,,R> RuntimeContext<C>,StatefulSession,StatelessSession
- All Known Implementing Classes:
AbstractSessionWrapper,KnowledgeWrapper
The
FluentEnvironment interface extends the functionality of Environment to
support fluent API style configuration by allowing properties to be set in a chainable manner.-
Method Summary
Methods inherited from interface org.evrete.api.Environment
get, get, getPropertyNames
-
Method Details
-
set
Sets the specified property to the given value.- Specified by:
setin interfaceEnvironment- Parameters:
property- the name of the property to set; should not benull.value- the new value for the property; the actual type is determined by the implementation and the property being set.- Returns:
- the current instance of
Xto allow for method chaining.
-