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.ListenableFuture<? extends T> |
getSource(SourceIdentifier sourceIdentifier)
Returns a representation a for supplied YANG source identifier.
|
com.google.common.util.concurrent.ListenableFuture<? extends T> getSource(SourceIdentifier sourceIdentifier)
MissingSchemaSourceException
.
MissingSchemaSourceException
.
In either case the returned representation is required to report a non-null
revision in the 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 © 2019 OpenDaylight. All rights reserved.