Class LicenseResourceManager

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

    @Component(role=org.codehaus.plexus.resource.ResourceManager.class,
               hint="license",
               instantiationStrategy="per-lookup")
    public class LicenseResourceManager
    extends org.codehaus.plexus.resource.DefaultResourceManager
    License resource manager, to avoid defaulting license to maven-checkstyle-plugin's own license.
    Since:
    2.12
    • Field Summary

      • Fields inherited from interface org.codehaus.plexus.resource.ResourceManager

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSearchPath​(java.lang.String id, java.lang.String path)  
      org.codehaus.plexus.resource.PlexusResource getResource​(java.lang.String name)  
      • Methods inherited from class org.codehaus.plexus.resource.DefaultResourceManager

        createResourceAsFile, getResourceAsFile, getResourceAsFile, getResourceAsFile, getResourceAsInputStream, resolveLocation, resolveLocation, setOutputDirectory
      • Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

        enableLogging, getLogger, setupLogger, setupLogger, setupLogger
      • Methods inherited from class java.lang.Object

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

      • LicenseResourceManager

        public LicenseResourceManager()
    • Method Detail

      • addSearchPath

        public void addSearchPath​(java.lang.String id,
                                  java.lang.String path)
        Specified by:
        addSearchPath in interface org.codehaus.plexus.resource.ResourceManager
        Overrides:
        addSearchPath in class org.codehaus.plexus.resource.DefaultResourceManager
      • getResource

        public org.codehaus.plexus.resource.PlexusResource getResource​(java.lang.String name)
                                                                throws org.codehaus.plexus.resource.loader.ResourceNotFoundException
        Specified by:
        getResource in interface org.codehaus.plexus.resource.ResourceManager
        Overrides:
        getResource in class org.codehaus.plexus.resource.DefaultResourceManager
        Throws:
        org.codehaus.plexus.resource.loader.ResourceNotFoundException