public static class CrossSourceStatementReactor.BuildAction extends Object
public @NonNull CrossSourceStatementReactor.BuildAction addSource(StatementStreamSource source)
source
- which should be added into main sourcespublic @NonNull CrossSourceStatementReactor.BuildAction addSources(StatementStreamSource... sources)
sources
- which should be added into main sourcespublic @NonNull CrossSourceStatementReactor.BuildAction addSources(@NonNull Collection<? extends StatementStreamSource> sources)
public @NonNull 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 @NonNull CrossSourceStatementReactor.BuildAction addLibSources(Collection<StatementStreamSource> libSources)
public @NonNull 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 @NonNull 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.