Class ModelPlugin
java.lang.Object
software.amazon.smithy.build.plugins.ModelPlugin
- All Implemented Interfaces:
SmithyBuildPlugin
Writes the projected/filtered SmithyBuild model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(PluginContext context) Executes the plugin, creating any number of artifacts.getName()
Gets the name of the plugin.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.smithy.build.SmithyBuildPlugin
isSerial, requiresValidModel
-
Constructor Details
-
ModelPlugin
public ModelPlugin()
-
-
Method Details
-
getName
Description copied from interface:SmithyBuildPlugin
Gets the name of the plugin.- Specified by:
getName
in interfaceSmithyBuildPlugin
- Returns:
- Returns the name (e.g., "MyPlugin").
-
execute
Description copied from interface:SmithyBuildPlugin
Executes the plugin, creating any number of artifacts.- Specified by:
execute
in interfaceSmithyBuildPlugin
- Parameters:
context
- Plugin context for build execution.
-