Class UriProtocPlugin

java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.UriProtocPlugin
All Implemented Interfaces:
ProtocPlugin
Direct Known Subclasses:
UriProtocPluginBean

@Modifiable @KindHint(kind="url", implementation=UriProtocPluginBean.class) public abstract non-sealed class UriProtocPlugin extends Object implements ProtocPlugin
Implementation independent descriptor for a protoc plugin that can be resolved from a URI.

URI-based plugins can be marked as optional if they should be skipped when the resource is unable to be resolved.

Since:
2.0.0
Author:
Ashley Scopes
  • Constructor Details

    • UriProtocPlugin

      public UriProtocPlugin()
  • Method Details

    • getDigest

      public abstract @Nullable Digest getDigest()
    • getUrl

      public abstract URI getUrl()
    • isOptional

      @Boolean(false) public abstract boolean isOptional()
    • toString

      public String toString()
      Overrides:
      toString in class Object