public class CrossSourceStatementReactor.BuildAction extends Object
public CrossSourceStatementReactor.BuildAction addSource(StatementStreamSource source)
source
- which should be added into main sourcespublic CrossSourceStatementReactor.BuildAction addSources(StatementStreamSource... sources)
sources
- which should be added into main sourcespublic CrossSourceStatementReactor.BuildAction addSources(Collection<? extends StatementStreamSource> sources)
public CrossSourceStatementReactor.BuildAction addLibSources(StatementStreamSource... libSources)
Library sources are not supported in semantic version mode currently.
libSources
- yang sources which should be added into library sourcespublic CrossSourceStatementReactor.BuildAction addLibSources(Collection<StatementStreamSource> libSources)
public CrossSourceStatementReactor.BuildAction setSupportedFeatures(@Nonnull Set<QName> supportedFeatures)
supportedFeatures
- Set of supported features in the final SchemaContext.
If the set is empty, no features encountered will be supported.public CrossSourceStatementReactor.BuildAction setModulesWithSupportedDeviations(@Nonnull com.google.common.collect.SetMultimap<QNameModule,QNameModule> modulesDeviatedByModules)
modulesDeviatedByModules
- Map of YANG modules (Map key) which can be deviated by specified modules (Map value) in the final
SchemaContext. If the map is empty, no deviations encountered will be supported.public EffectiveModelContext build() throws ReactorException
ReactorException
public EffectiveSchemaContext buildEffective() throws ReactorException
ReactorException
Copyright © 2019 OpenDaylight. All rights reserved.