|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.parser.WorkspaceScanner
public class WorkspaceScanner
Scans the workspace and records the found tasks. Each file is then classified, i.e., a module and package is guessed and assigned.
| Constructor Summary | |
|---|---|
WorkspaceScanner(String filePattern,
String excludeFilePattern,
String defaultEncoding,
String high,
String normal,
String low,
boolean ignoreCase,
boolean shouldDetectModules)
Creates a new instance of WorkspaceScanner. |
|
WorkspaceScanner(String filePattern,
String excludeFilePattern,
String defaultEncoding,
String high,
String normal,
String low,
boolean caseSensitive,
String moduleName)
Creates a new instance of WorkspaceScanner. |
|
WorkspaceScanner(String filePattern,
String excludeFilePattern,
String defaultEncoding,
String high,
String normal,
String low,
boolean caseSensitive,
String moduleName,
List<String> modules)
Creates a new instance of WorkspaceScanner. |
|
| Method Summary | |
|---|---|
String |
getPrefix()
Returns the prefix. |
TasksParserResult |
invoke(File workspace,
hudson.remoting.VirtualChannel channel)
|
protected void |
log(String message)
Logs the specified message. |
void |
setPrefix(String prefix)
Sets the prefix to the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkspaceScanner(String filePattern,
String excludeFilePattern,
String defaultEncoding,
String high,
String normal,
String low,
boolean ignoreCase,
boolean shouldDetectModules)
WorkspaceScanner.
filePattern - ant file-set pattern to scan for filesexcludeFilePattern - ant file-set pattern to exclude from scandefaultEncoding - the default encoding to be used when reading and parsing fileshigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low priorityignoreCase - if case should be ignored during matchingshouldDetectModules - determines whether module names should be derived from Maven POM or Ant build files
public WorkspaceScanner(String filePattern,
String excludeFilePattern,
String defaultEncoding,
String high,
String normal,
String low,
boolean caseSensitive,
String moduleName)
WorkspaceScanner.
filePattern - ant file-set pattern to scan for filesexcludeFilePattern - ant file-set pattern to exclude from scandefaultEncoding - the default encoding to be used when reading and parsing fileshigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low prioritycaseSensitive - determines whether the scanner should work case sensitivemoduleName - the maven module name
public WorkspaceScanner(String filePattern,
String excludeFilePattern,
String defaultEncoding,
String high,
String normal,
String low,
boolean caseSensitive,
String moduleName,
List<String> modules)
WorkspaceScanner.
filePattern - ant file-set pattern to scan for filesexcludeFilePattern - ant file-set pattern to exclude from scandefaultEncoding - the default encoding to be used when reading and parsing fileshigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low prioritycaseSensitive - determines whether the scanner should work case sensitivemoduleName - the maven module name| Method Detail |
|---|
protected void log(String message)
message - the messagepublic void setPrefix(String prefix)
prefix - the value to setpublic String getPrefix()
public TasksParserResult invoke(File workspace,
hudson.remoting.VirtualChannel channel)
throws IOException,
InterruptedException
invoke in interface hudson.FilePath.FileCallable<TasksParserResult>IOException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||