T
- Schema source representation type provided by this implementation@Beta
public interface SchemaSourceProvider<T extends SchemaSourceRepresentation>
SourceIdentifier
into a particular representation of the schema source. Examples of resolution include
fetching the source from an external source, opening a classpath resource, or similar.Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.CheckedFuture<? extends T,SchemaSourceException> |
getSource(SourceIdentifier sourceIdentifier)
Returns a representation a for supplied YANG source identifier.
|
com.google.common.util.concurrent.CheckedFuture<? extends T,SchemaSourceException> getSource(SourceIdentifier sourceIdentifier)
MissingSchemaSourceException
.
MissingSchemaSourceException
.
SourceIdentifier
returned from
SchemaSourceRepresentation.getIdentifier()
.
Implementations are not required to provide constant behavior in time, notably
this different invocation of this method may produce different results.sourceIdentifier
- source identifierCopyright © 2018 OpenDaylight. All rights reserved.