public final class BuildInfoPlugin extends java.lang.Object implements SmithyBuildPlugin
This plugin is invoked regardless of whether or not the model contains error or unsuppressed validation events.
This plugin is only invoked if the projection and original model are configured on the provided PluginContext.
| Constructor and Description |
|---|
BuildInfoPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(PluginContext context)
Executes the plugin, creating any number of artifacts.
|
java.lang.String |
getName()
Gets the name of the plugin.
|
boolean |
requiresValidModel()
Plugins can choose whether or not to create artifacts based on whether
or not the projection encountered error or unsuppressed danger events.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateServiceFactory, createServiceFactory, createServiceFactory, isSerialpublic java.lang.String getName()
SmithyBuildPlugingetName in interface SmithyBuildPluginpublic boolean requiresValidModel()
SmithyBuildPluginBy default plugins require that there are no errors or danger events for a given projected model.
requiresValidModel in interface SmithyBuildPluginpublic void execute(PluginContext context)
SmithyBuildPluginexecute in interface SmithyBuildPlugincontext - Plugin context for build execution.