Package lib.reports

Class ProjectReportImpl

java.lang.Object
lib.reports.ProjectReportImpl
All Implemented Interfaces:
ProjectReport

public class ProjectReportImpl extends Object implements ProjectReport
Class to manage report about project. Implements ProjectReport
  • Constructor Details

    • ProjectReportImpl

      public ProjectReportImpl()
      Class constructor
  • Method Details

    • getMainClass

      public ClassReport getMainClass()
      Description copied from interface: ProjectReport
      Get the main class of project
      Specified by:
      getMainClass in interface ProjectReport
      Returns:
      the main class of project
    • setMainClass

      public void setMainClass(ClassReport classReport)
      Description copied from interface: ProjectReport
      Set the main class of project
      Specified by:
      setMainClass in interface ProjectReport
      Parameters:
      classReport - the main class of project to set
    • getAllPackageReports

      public List<PackageReport> getAllPackageReports()
      Description copied from interface: ProjectReport
      Get all packages reports of project packages
      Specified by:
      getAllPackageReports in interface ProjectReport
      Returns:
      all packages reports of project packages
    • addPackageReport

      public void addPackageReport(PackageReport packageReport)
      Description copied from interface: ProjectReport
      Add package report to project report
      Specified by:
      addPackageReport in interface ProjectReport
      Parameters:
      packageReport - package report to add to project report
    • getClassReport

      public ClassReport getClassReport(String fullClassName)
      Description copied from interface: ProjectReport
      Get a class report of class passed as parameter
      Specified by:
      getClassReport in interface ProjectReport
      Parameters:
      fullClassName - the full class name of which get report
      Returns:
      class report of class requested
    • toString

      public String toString()
      Overrides:
      toString in class Object