Class PathProtocPlugin

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

@Modifiable @KindHint(kind="path", implementation=PathProtocPluginBean.class) public abstract non-sealed class PathProtocPlugin extends Object implements ProtocPlugin
Implementation independent descriptor for a protoc plugin that can be resolved from the system $PATH.

Path-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

    • PathProtocPlugin

      public PathProtocPlugin()
  • Method Details

    • getName

      public abstract String getName()
    • isOptional

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

      public String toString()
      Overrides:
      toString in class Object