@Component(role=WagonConfigurator.class, hint="plexus") public class PlexusWagonConfigurator extends java.lang.Object implements WagonConfigurator
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
PlexusWagonConfigurator.WagonComponentConfigurator |
| Modifier and Type | Field and Description |
|---|---|
private org.codehaus.plexus.PlexusContainer |
container |
| Constructor and Description |
|---|
PlexusWagonConfigurator()
Creates an uninitialized wagon configurator.
|
PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
Creates a wagon configurator using the specified Plexus container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.maven.wagon.Wagon wagon,
java.lang.Object configuration)
Configures the specified wagon instance with the given configuration.
|
public PlexusWagonConfigurator()
public PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
container - The Plexus container instance to use, must not be null.public void configure(org.apache.maven.wagon.Wagon wagon,
java.lang.Object configuration)
throws java.lang.Exception
WagonConfiguratorconfigure in interface WagonConfiguratorwagon - The wagon instance to configure, must not be null.configuration - The configuration to apply to the wagon instance, must not be null.java.lang.Exception - If the configuration could not be applied to the wagon.