hudson.plugins.tasks.parser
Class TasksProject

java.lang.Object
  extended by hudson.plugins.tasks.util.model.AnnotationContainer
      extended by hudson.plugins.tasks.util.model.JavaProject
          extended by hudson.plugins.tasks.parser.TasksProject
All Implemented Interfaces:
AnnotationProvider, java.io.Serializable

public class TasksProject
extends JavaProject

Remembers the number of scanned files in a JavaProject.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
TasksProject()
          Creates a new instance of TasksProject.
TasksProject(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.model.JavaProject
addFiles, addModule, addModules, annotationAdded, containsModule, getAnnotationBound, getError, getFile, getFiles, getModule, getModules, getPackage, getPackages, getWorkspacePath, hasError, setError, setWorkspacePath
 
Methods inherited from class hudson.plugins.tasks.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, addFile, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getName, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackageCategoryName, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksProject

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

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

TasksProject

public TasksProject()
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 © 2008. All Rights Reserved.