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, ResourceManager
@Component(role=org.codehaus.plexus.resource.ResourceManager.class,
hint="license",
instantiationStrategy="per-lookup")
public class LicenseResourceManager
- extends DefaultResourceManager
License resource manager, to avoid defaulting license to maven-checkstyle-plugin's own license.
- Since:
- 2.12
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 ResourceManager
- Overrides:
addSearchPath
in class DefaultResourceManager
getResource
public PlexusResource getResource(String name)
throws ResourceNotFoundException
- Specified by:
getResource
in interface ResourceManager
- Overrides:
getResource
in class DefaultResourceManager
- Throws:
ResourceNotFoundException
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.