@Component(role=ResourceAnalyzer.class, hint="ResourceAnalyzer") public class ResourceAnalyzer extends Object
ResourceAnalyzer scans a directory for resource bundles.| Constructor and Description |
|---|
ResourceAnalyzer()
Instantiates a new resource analyzer.
|
ResourceAnalyzer(SVNUtil svn)
Creates a new resource analyzer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(org.apache.maven.plugin.logging.Log log,
String svnUrl,
String dstPath,
DashboardConfiguration config,
Repository repo,
String repoId)
Analyzes the given dstPath and adds any resource bundles found.
|
List<ResourceBundle> |
getBundles()
Gets the found resource bundles sorted by project name.
|
public ResourceAnalyzer()
public ResourceAnalyzer(SVNUtil svn)
svn - the svn utilitypublic List<ResourceBundle> getBundles()
public void analyze(org.apache.maven.plugin.logging.Log log,
String svnUrl,
String dstPath,
DashboardConfiguration config,
Repository repo,
String repoId)
log - the logsvnUrl - the svn urldstPath - the dst pathconfig - the configrepo - the reporepoId - the repo idCopyright © 2013-2015. All Rights Reserved.