Class PlexusWagonConfigurator

  • All Implemented Interfaces:
    WagonConfigurator

    @Named("plexus")
    @Singleton
    public class PlexusWagonConfigurator
    extends java.lang.Object
    implements WagonConfigurator
    A wagon configurator based on the Plexus component configuration framework.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.codehaus.plexus.PlexusContainer container  
    • Constructor Summary

      Constructors 
      Constructor Description
      PlexusWagonConfigurator​(org.codehaus.plexus.PlexusContainer container)
      Creates a wagon configurator using the specified Plexus container.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.apache.maven.wagon.Wagon wagon, java.lang.Object configuration)
      Configures the specified wagon instance with the given configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • container

        private org.codehaus.plexus.PlexusContainer container
    • Constructor Detail

      • PlexusWagonConfigurator

        @Inject
        public PlexusWagonConfigurator​(org.codehaus.plexus.PlexusContainer container)
        Creates a wagon configurator using the specified Plexus container.
        Parameters:
        container - The Plexus container instance to use, must not be null.
    • Method Detail

      • configure

        public void configure​(org.apache.maven.wagon.Wagon wagon,
                              java.lang.Object configuration)
                       throws java.lang.Exception
        Description copied from interface: WagonConfigurator
        Configures the specified wagon instance with the given configuration.
        Specified by:
        configure in interface WagonConfigurator
        Parameters:
        wagon - The wagon instance to configure, must not be null.
        configuration - The configuration to apply to the wagon instance, must not be null.
        Throws:
        java.lang.Exception - If the configuration could not be applied to the wagon.