org.jboss.maven.shared.resource
Class ResourceDelegate
java.lang.Object
org.jboss.maven.shared.resource.ResourceDelegate
public class ResourceDelegate
- extends java.lang.Object
A delegate for handling Resource
resolution.
- Author:
- Steve Ebersole
Constructor Summary |
ResourceDelegate(org.apache.maven.project.MavenProject project,
java.io.File baseTargetDirectory,
org.apache.maven.plugin.logging.Log log)
Constructs a Delegate instance for handling Resource resolution. |
ResourceDelegate(org.apache.maven.project.MavenProject project,
java.io.File baseTargetDirectory,
java.lang.String[] defaultIncludes,
java.lang.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 java.lang.String[] DEFAULT_DEFAULT_INCLUDES
ResourceDelegate
public ResourceDelegate(org.apache.maven.project.MavenProject project,
java.io.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,
java.io.File baseTargetDirectory,
java.lang.String[] defaultIncludes,
java.lang.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 © 2007-2011 JBoss, a division of Red Hat, Inc. All Rights Reserved.