Class SourcePathResolver
java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.SourcePathResolver
Component that can index and resolve protobuf sources in a file tree.
In addition, it can discover sources within archives recursively. These results will be
extracted to a location within the Maven build directory to enable protoc
and other
plugins to be able to view them without needing access to the Java NIO file system APIs.
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorDescriptionSourcePathResolver
(ConcurrentExecutor concurrentExecutor, TemporarySpace temporarySpace) -
Method Summary
Modifier and TypeMethodDescriptionresolveSources
(Collection<Path> rootPaths, SourceGlobFilter filter)
-
Constructor Details
-
SourcePathResolver
@Inject public SourcePathResolver(ConcurrentExecutor concurrentExecutor, TemporarySpace temporarySpace)
-
-
Method Details
-
resolveSources
public Collection<SourceListing> resolveSources(Collection<Path> rootPaths, SourceGlobFilter filter)
-