C - Collection type belonging to ConfigurationYamlImplpublic class WatchFileYamlTypeReferenceImplStub<C> extends Object
ConfigurationYamlImpl from a YAML file which represents some collection.| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected String |
sourceId |
protected com.fasterxml.jackson.core.type.TypeReference<C> |
typeReference |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationYamlCollectionImpl<C> |
withEventBus(EventBus eventBus)
Instructs the created
Configuration to subscribe to events published by the given event bus. |
protected final String sourceId
protected final File file
protected final com.fasterxml.jackson.core.type.TypeReference<C> typeReference
public ConfigurationYamlCollectionImpl<C> withEventBus(EventBus eventBus) throws IOException
Configuration to subscribe to events published by the given event bus.eventBus - Non-null event busIOException - On I/O parsing the YAML fileCopyright © 2016–2017. All rights reserved.