public class NamespaceDiscovery extends Object
Constructor and Description |
---|
NamespaceDiscovery(org.apache.maven.plugin.logging.Log log,
File targetPath,
String charset,
boolean compileDeclaredNamespaceOnly) |
NamespaceDiscovery(org.apache.maven.plugin.logging.Log log,
File targetPath,
String charset,
boolean compileDeclaredNamespaceOnly,
boolean includeStale) |
Modifier and Type | Method and Description |
---|---|
List<NamespaceInFile> |
discoverNamespacesIn(File basePath) |
NamespaceInFile[] |
discoverNamespacesIn(String[] namespaceFilterRegexs,
File... paths)
Discover namespaces in a list of source directories filtered by a list of namespace regexs
|
List<NamespaceInFile> |
discoverNamespacesInPath(File... paths) |
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner |
getSourceInclusionScanner(boolean includeStale) |
public NamespaceDiscovery(org.apache.maven.plugin.logging.Log log, File targetPath, String charset, boolean compileDeclaredNamespaceOnly)
public NamespaceInFile[] discoverNamespacesIn(String[] namespaceFilterRegexs, File... paths) throws org.apache.maven.plugin.MojoExecutionException
namespaceFilterRegexs
- An array of regexs to use to filter filespaths
- The path to discover inNamespaceInFile
instances.org.apache.maven.plugin.MojoExecutionException
- Something went wrong...public List<NamespaceInFile> discoverNamespacesInPath(File... paths) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public List<NamespaceInFile> discoverNamespacesIn(File basePath) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(boolean includeStale)
Copyright © 2018. All rights reserved.