Package lib.reports

Class InterfaceReportImpl

java.lang.Object
lib.reports.InterfaceReportImpl
All Implemented Interfaces:
InterfaceReport, Report

public class InterfaceReportImpl extends Object implements InterfaceReport
Class to manage report about interface. Implements InterfaceReport
  • Constructor Details

    • InterfaceReportImpl

      public InterfaceReportImpl()
      Class constructor. Initialize all information as empty
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Report
      Get the name of the item (class/interface)
      Specified by:
      getName in interface Report
      Returns:
      the name of the item
    • getSourceFullPath

      public String getSourceFullPath()
      Description copied from interface: Report
      Get the path from source root
      Specified by:
      getSourceFullPath in interface Report
      Returns:
      the path from source root
    • getMethodsInfo

      public List<MethodInfo> getMethodsInfo()
      Description copied from interface: InterfaceReport
      Get a list of methods inside the item (class/interface)
      Specified by:
      getMethodsInfo in interface InterfaceReport
      Returns:
      a List of MethodInfo
    • setName

      public void setName(String interfaceName)
      Description copied from interface: Report
      Set the name of the item (class/interface)
      Specified by:
      setName in interface Report
      Parameters:
      interfaceName - the name
    • setFullPath

      public void setFullPath(String interfaceFullPath)
      Description copied from interface: Report
      Set the path from source root
      Specified by:
      setFullPath in interface Report
      Parameters:
      interfaceFullPath - the path from source root
    • addMethodInfo

      public void addMethodInfo(MethodInfo methodInfo)
      Description copied from interface: InterfaceReport
      Add a MethodInfo to the report
      Specified by:
      addMethodInfo in interface InterfaceReport
      Parameters:
      methodInfo - the MethodInfo
    • toString

      public String toString()
      Overrides:
      toString in class Object