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, wait
createServiceFactory, createServiceFactory, createServiceFactory, isSerial
public java.lang.String getName()
SmithyBuildPlugin
getName
in interface SmithyBuildPlugin
public boolean requiresValidModel()
SmithyBuildPlugin
By default plugins require that there are no errors or danger events for a given projected model.
requiresValidModel
in interface SmithyBuildPlugin
public void execute(PluginContext context)
SmithyBuildPlugin
execute
in interface SmithyBuildPlugin
context
- Plugin context for build execution.