Package org.apache.maven.plugin.internal
Class ValidatingConfigurationListener
java.lang.Object
org.apache.maven.plugin.internal.ValidatingConfigurationListener
- All Implemented Interfaces:
org.codehaus.plexus.component.configurator.ConfigurationListener
class ValidatingConfigurationListener
extends Object
implements org.codehaus.plexus.component.configurator.ConfigurationListener
A configuration listener to help validate the plugin configuration. For instance, check for required but missing
parameters.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidatingConfigurationListener
(Object mojo, MojoDescriptor mojoDescriptor, org.codehaus.plexus.component.configurator.ConfigurationListener delegate) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
notifyFieldChangeUsingReflection
(String fieldName, Object value, Object target) void
notifyFieldChangeUsingSetter
(String fieldName, Object value, Object target)
-
Field Details
-
mojo
-
delegate
private final org.codehaus.plexus.component.configurator.ConfigurationListener delegate -
missingParameters
-
-
Constructor Details
-
ValidatingConfigurationListener
ValidatingConfigurationListener(Object mojo, MojoDescriptor mojoDescriptor, org.codehaus.plexus.component.configurator.ConfigurationListener delegate)
-
-
Method Details
-
getMissingParameters
-
notifyFieldChangeUsingSetter
- Specified by:
notifyFieldChangeUsingSetter
in interfaceorg.codehaus.plexus.component.configurator.ConfigurationListener
-
notifyFieldChangeUsingReflection
- Specified by:
notifyFieldChangeUsingReflection
in interfaceorg.codehaus.plexus.component.configurator.ConfigurationListener
-
notify
-