org.jboss.maven.util.resource
Class ResourceDelegate
java.lang.Object
org.jboss.maven.util.resource.ResourceDelegate
public class ResourceDelegate
- extends Object
A delegate for handling Resource
resolution.
- Author:
- Steve Ebersole
Constructor Summary |
ResourceDelegate(org.apache.maven.project.MavenProject project,
File baseTargetDirectory,
org.apache.maven.plugin.logging.Log log)
Constructs a Delegate instance for handling Resource resolution. |
ResourceDelegate(org.apache.maven.project.MavenProject project,
File baseTargetDirectory,
String[] defaultIncludes,
String[] defaultExcludes,
org.apache.maven.plugin.logging.Log log)
Constructs a Delegate instance for handling Resource resolution. |
Method Summary |
void |
process(org.apache.maven.model.Resource resource)
|
void |
process(org.apache.maven.model.Resource[] resources)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DEFAULT_INCLUDES
public static final String[] DEFAULT_DEFAULT_INCLUDES
ResourceDelegate
public ResourceDelegate(org.apache.maven.project.MavenProject project,
File baseTargetDirectory,
org.apache.maven.plugin.logging.Log log)
- Constructs a Delegate instance for handling Resource resolution.
- Parameters:
project
- The project currently being built.baseTargetDirectory
- The base target directory to which we should copy resources.log
- The log instance to use for logging.
ResourceDelegate
public ResourceDelegate(org.apache.maven.project.MavenProject project,
File baseTargetDirectory,
String[] defaultIncludes,
String[] defaultExcludes,
org.apache.maven.plugin.logging.Log log)
- Constructs a Delegate instance for handling Resource resolution.
- Parameters:
project
- The project currently being built.baseTargetDirectory
- The base target directory to which we should copy resources.defaultIncludes
- default patterns for resource copying inclusion.defaultExcludes
- default patterns for resource copying exclusion.log
- The log instance to use for logging.
process
public void process(org.apache.maven.model.Resource[] resources)
throws ResourceException
- Throws:
ResourceException
process
public void process(org.apache.maven.model.Resource resource)
throws ResourceException
- Throws:
ResourceException
Copyright © 2009-2011 JBoss, a division of Red Hat, Inc. All Rights Reserved.