Class ModelPlugin

  • All Implemented Interfaces:
    SmithyBuildPlugin

    public final class ModelPlugin
    extends java.lang.Object
    implements SmithyBuildPlugin
    Writes the projected/filtered SmithyBuild model.
    • Constructor Detail

      • ModelPlugin

        public ModelPlugin()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: SmithyBuildPlugin
        Gets the name of the plugin.
        Specified by:
        getName in interface SmithyBuildPlugin
        Returns:
        Returns the name (e.g., "MyPlugin").
      • execute

        public void execute​(PluginContext context)
        Description copied from interface: SmithyBuildPlugin
        Executes the plugin, creating any number of artifacts.
        Specified by:
        execute in interface SmithyBuildPlugin
        Parameters:
        context - Plugin context for build execution.