open class PassThroughSourceExtractor : SourceExtractor
Simple SourceExtractor implementation that just passes the candidate source metadata object through for attachment.
Using this implementation means that tools will get raw access to the underlying configuration source metadata provided by the tool.
This implementation should not be used in a production application since it is likely to keep too much metadata in memory (unnecessarily).
Author
Rob Harrop
Since
2.0
PassThroughSourceExtractor()
Simple SourceExtractor implementation that just passes the candidate source metadata object through for attachment. Using this implementation means that tools will get raw access to the underlying configuration source metadata provided by the tool. This implementation should not be used in a production application since it is likely to keep too much metadata in memory (unnecessarily). |
open fun extractSource(sourceCandidate: Any, definingResource: Resource): Any
Simply returns the supplied |