public class ResourceFileEntryProcessor extends AbstractFileEntryProcessor<org.apache.maven.model.Resource>
Constructor and Description |
---|
ResourceFileEntryProcessor(String buildOutputDirectory,
org.apache.maven.plugin.logging.Log log)
Construct a new entry processor.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<? extends FileEntry> |
generateFileEntries(org.apache.maven.model.Resource resource) |
List<FileEntry> |
process(List<? extends org.apache.maven.model.Resource> resources)
Process a collection of resources, extracting matching files.
|
void |
setExcludes(String[] excludes) |
void |
setIncludes(String[] includes) |
getLog
public ResourceFileEntryProcessor(String buildOutputDirectory, org.apache.maven.plugin.logging.Log log)
buildOutputDirectory
- the directory where built classes are storedlog
- the Maven logger instancepublic void setIncludes(String[] includes)
public void setExcludes(String[] excludes)
public List<FileEntry> process(List<? extends org.apache.maven.model.Resource> resources) throws IOException
AbstractFileEntryProcessor
process
in class AbstractFileEntryProcessor<org.apache.maven.model.Resource>
resources
- the resources to processIOException
- if an error occurred while processing the filesprotected Collection<? extends FileEntry> generateFileEntries(org.apache.maven.model.Resource resource) throws IOException
generateFileEntries
in class AbstractFileEntryProcessor<org.apache.maven.model.Resource>
IOException
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.