public class ContextBuilder.ContextEngineBuilder extends ContextBuilder.ContextGenericBuilder
Inner class to configure a engine builder.
| Constructor and Description |
|---|
ContextBuilder.ContextEngineBuilder(String id,
String type)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ContextBuilder.ContextEngineBuilder |
property(String key,
Object value)
Configures the given property.
|
ContextBuilder |
toContext()
Injects in the enclosing builder the component with its settings and return it.
|
getId, getPropertiespublic ContextBuilder.ContextEngineBuilder property(String key, Object value)
Configures the given property.
property in class ContextBuilder.ContextGenericBuilderkey - the property keyvalue - the property valuepublic ContextBuilder toContext()
Injects in the enclosing builder the component with its settings and return it.
Throws an IllegalArgumentException if a previously configured property is not supported
toContext in class ContextBuilder.ContextGenericBuilderCopyright © 2012-2015. All Rights Reserved.