hudson.plugins.tasks.parser
Class TasksParserResult

java.lang.Object
  extended by hudson.plugins.tasks.util.ParserResult
      extended by hudson.plugins.tasks.parser.TasksParserResult
All Implemented Interfaces:
java.io.Serializable

public class TasksParserResult
extends ParserResult

Remembers the number of scanned files in a JavaProject.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
TasksParserResult()
          Creates a new instance of TasksProject.
TasksParserResult(int numberOfFiles)
          Creates a new instance of TasksProject.
 
Method Summary
 void addScannedFiles(int newFiles)
          Adds the specified number of parsed files to this project.
 int getNumberOfScannedFiles()
          Returns the number of scanned files in this project.
 
Methods inherited from class hudson.plugins.tasks.util.ParserResult
addAnnotation, addAnnotations, addAnnotations, addErrorMessage, addErrorMessage, addErrors, addModule, addModules, getAnnotations, getErrorMessages, getModules, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfModules, hasAnnotations, hasAnnotations, hasNoAnnotations, hasNoAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksParserResult

public TasksParserResult(int numberOfFiles)
Creates a new instance of TasksProject.

Parameters:
numberOfFiles - the number of scanned files in this project

TasksParserResult

public TasksParserResult()
Creates a new instance of TasksProject.

Method Detail

getNumberOfScannedFiles

public int getNumberOfScannedFiles()
Returns the number of scanned files in this project.

Returns:
the number of scanned files in a JavaProject

addScannedFiles

public void addScannedFiles(int newFiles)
Adds the specified number of parsed files to this project.

Parameters:
newFiles - the new files


Copyright © 2009. All Rights Reserved.