Class DefaultMojoScanner

  • All Implemented Interfaces:
    MojoScanner, org.codehaus.plexus.logging.LogEnabled

    @Named
    public class DefaultMojoScanner
    extends org.codehaus.plexus.logging.AbstractLogEnabled
    implements MojoScanner
    Author:
    jdcasey
    • Constructor Detail

      • DefaultMojoScanner

        @Inject
        public DefaultMojoScanner​(Map<String,​MojoDescriptorExtractor> extractors)
        Default constructor
        Parameters:
        extractors - not null
      • DefaultMojoScanner

        public DefaultMojoScanner()
        Empty constructor
    • Method Detail

      • setActiveExtractors

        public void setActiveExtractors​(Set<String> extractors)
        Description copied from interface: MojoScanner

        Sets the active extractors.

        Only the specified extractors will be used, all others will be skipped.

        Specified by:
        setActiveExtractors in interface MojoScanner
        Parameters:
        extractors - The names of the active extractors. If this parameter is null, all the scanner's extractors are considered active. Set entries that are null or empty ("") will be ignored.