hudson.plugins.analysis.util
Class NullModuleDetector
java.lang.Object
hudson.plugins.analysis.util.ModuleDetector
hudson.plugins.analysis.util.NullModuleDetector
public class NullModuleDetector
- extends ModuleDetector
Null object that always returns the empty string as module name.
- Author:
- Ulli Hafner
|
Method Summary |
String |
guessModuleName(String fileName)
Uses the path prefixes of pom.xml or build.xml files to guess a module
name for the specified file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullModuleDetector
public NullModuleDetector()
guessModuleName
public String guessModuleName(String fileName)
- Description copied from class:
ModuleDetector
- Uses the path prefixes of pom.xml or build.xml files to guess a module
name for the specified file.
- Overrides:
guessModuleName in class ModuleDetector
- Parameters:
fileName - file name to guess a module for, must be an absolute path
- Returns:
- a module name or an empty string
Copyright © 2004-2012 Hudson. All Rights Reserved.