Class UriProtocPlugin

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

@Modifiable public abstract class UriProtocPlugin extends Object implements OptionalProtocPlugin
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

    • getUrl

      public abstract URI getUrl()
    • getDigest

      public abstract @Nullable Digest getDigest()
    • toString

      public String toString()
      Overrides:
      toString in class Object