Class SourceFileItem

  • All Implemented Interfaces:
    ILinkable, ITableItem

    final class SourceFileItem
    extends java.lang.Object
    implements ITableItem
    Table items representing a source file which cannot be linked.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ICoverageNode node  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLink​(ReportOutputFolder base)
      Returns a relative link to the item that works from the given base folder.
      java.lang.String getLinkLabel()
      Returns the display label used for the link.
      java.lang.String getLinkStyle()
      Optional style class to be associated with the link.
      ICoverageNode getNode()
      Returns the corresponding node data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLinkLabel

        public java.lang.String getLinkLabel()
        Description copied from interface: ILinkable
        Returns the display label used for the link.
        Specified by:
        getLinkLabel in interface ILinkable
        Returns:
        display label
      • getLinkStyle

        public java.lang.String getLinkStyle()
        Description copied from interface: ILinkable
        Optional style class to be associated with the link.
        Specified by:
        getLinkStyle in interface ILinkable
        Returns:
        link style class or null
      • getLink

        public java.lang.String getLink​(ReportOutputFolder base)
        Description copied from interface: ILinkable
        Returns a relative link to the item that works from the given base folder.
        Specified by:
        getLink in interface ILinkable
        Parameters:
        base - folder where the link should be inserted
        Returns:
        relative link or null if the target does not exist