Class BinaryPluginResolver
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver
Protoc plugin resolver for native binaries on the system.
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorDescriptionBinaryPluginResolver
(MavenArtifactPathResolver artifactPathResolver, PlatformClassifierFactory platformClassifierFactory, SystemPathBinaryResolver systemPathResolver, UrlResourceFetcher urlResourceFetcher) -
Method Summary
Modifier and TypeMethodDescriptionCollection
<? extends ResolvedProtocPlugin> resolveMavenPlugins
(Collection<? extends MavenProtocPlugin> plugins) Collection
<? extends ResolvedProtocPlugin> resolvePathPlugins
(Collection<? extends PathProtocPlugin> plugins) Collection
<? extends ResolvedProtocPlugin> resolveUrlPlugins
(Collection<? extends UrlProtocPlugin> plugins)
-
Constructor Details
-
BinaryPluginResolver
@Inject public BinaryPluginResolver(MavenArtifactPathResolver artifactPathResolver, PlatformClassifierFactory platformClassifierFactory, SystemPathBinaryResolver systemPathResolver, UrlResourceFetcher urlResourceFetcher)
-
-
Method Details
-
resolveMavenPlugins
public Collection<? extends ResolvedProtocPlugin> resolveMavenPlugins(Collection<? extends MavenProtocPlugin> plugins) throws ResolutionException - Throws:
ResolutionException
-
resolvePathPlugins
public Collection<? extends ResolvedProtocPlugin> resolvePathPlugins(Collection<? extends PathProtocPlugin> plugins) throws ResolutionException - Throws:
ResolutionException
-
resolveUrlPlugins
public Collection<? extends ResolvedProtocPlugin> resolveUrlPlugins(Collection<? extends UrlProtocPlugin> plugins) throws ResolutionException - Throws:
ResolutionException
-