org.apache.maven.plugin.checkstyle.resource
Class LicenseResourceManager
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.resource.DefaultResourceManager
org.apache.maven.plugin.checkstyle.resource.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
| Fields inherited from interface org.codehaus.plexus.resource.ResourceManager |
ROLE |
| 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 |
LicenseResourceManager
public LicenseResourceManager()
addSearchPath
public void addSearchPath(String id,
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(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
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.