Package lib.reports
Class PackageReportImpl
java.lang.Object
lib.reports.PackageReportImpl
- All Implemented Interfaces:
PackageReport
,Report
Class to manage report about package. Implements
PackageReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClassReport
(ClassReport classReport) Add class report to class reports of package reportvoid
addInterfaceReport
(InterfaceReport interfaceReport) Add interface report to interfaces report of package reportGet reports of classes inside package reportGet reports of interfaces inside package reportgetName()
Get the name of the item (class/interface)Get the path from source rootvoid
setFullPath
(String fullPath) Set the path from source rootvoid
Set the name of the item (class/interface)toString()
-
Constructor Details
-
PackageReportImpl
public PackageReportImpl()Class constructor. Initialize all information as empty
-
-
Method Details
-
getClassesReports
Description copied from interface:PackageReport
Get reports of classes inside package report- Specified by:
getClassesReports
in interfacePackageReport
- Returns:
- a list of
ClassReport
inside package
-
addClassReport
Description copied from interface:PackageReport
Add class report to class reports of package report- Specified by:
addClassReport
in interfacePackageReport
- Parameters:
classReport
- class report to add to package report
-
getInterfaceReports
Description copied from interface:PackageReport
Get reports of interfaces inside package report- Specified by:
getInterfaceReports
in interfacePackageReport
- Returns:
- a list of
InterfaceReport
inside package
-
addInterfaceReport
Description copied from interface:PackageReport
Add interface report to interfaces report of package report- Specified by:
addInterfaceReport
in interfacePackageReport
- Parameters:
interfaceReport
- interface report to add to package report
-
getName
Description copied from interface:Report
Get the name of the item (class/interface) -
setName
Description copied from interface:Report
Set the name of the item (class/interface) -
getSourceFullPath
Description copied from interface:Report
Get the path from source root- Specified by:
getSourceFullPath
in interfaceReport
- Returns:
- the path from source root
-
setFullPath
Description copied from interface:Report
Set the path from source root- Specified by:
setFullPath
in interfaceReport
- Parameters:
fullPath
- the path from source root
-
toString
-