Package lib.reports
Class ProjectReportImpl
java.lang.Object
lib.reports.ProjectReportImpl
- All Implemented Interfaces:
ProjectReport
Class to manage report about project. Implements
ProjectReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPackageReport
(PackageReport packageReport) Add package report to project reportGet all packages reports of project packagesgetClassReport
(String fullClassName) Get a class report of class passed as parameterGet the main class of projectvoid
setMainClass
(ClassReport classReport) Set the main class of projecttoString()
-
Constructor Details
-
ProjectReportImpl
public ProjectReportImpl()Class constructor
-
-
Method Details
-
getMainClass
Description copied from interface:ProjectReport
Get the main class of project- Specified by:
getMainClass
in interfaceProjectReport
- Returns:
- the main class of project
-
setMainClass
Description copied from interface:ProjectReport
Set the main class of project- Specified by:
setMainClass
in interfaceProjectReport
- Parameters:
classReport
- the main class of project to set
-
getAllPackageReports
Description copied from interface:ProjectReport
Get all packages reports of project packages- Specified by:
getAllPackageReports
in interfaceProjectReport
- Returns:
- all packages reports of project packages
-
addPackageReport
Description copied from interface:ProjectReport
Add package report to project report- Specified by:
addPackageReport
in interfaceProjectReport
- Parameters:
packageReport
- package report to add to project report
-
getClassReport
Description copied from interface:ProjectReport
Get a class report of class passed as parameter- Specified by:
getClassReport
in interfaceProjectReport
- Parameters:
fullClassName
- the full class name of which get report- Returns:
- class report of class requested
-
toString
-