Klasse SourceViewModel

java.lang.Object
io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
io.jenkins.plugins.coverage.model.CoverageViewModel
io.jenkins.plugins.coverage.model.SourceViewModel
Alle implementierten Schnittstellen:
ModelObject, io.jenkins.plugins.datatables.AsyncTableContentProvider

public class SourceViewModel extends CoverageViewModel
Server side model that provides the data for the source code view of the coverage results. The layout of the associated view is defined corresponding jelly view 'index.jelly'.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • SourceViewModel

      public SourceViewModel(Run<?,?> owner, CoverageNode fileNode)
      Creates a new source view model instance.
      Parameter:
      owner - the owner of this view
      fileNode - the selected file node of the coverage tree
  • Methodendetails

    • getSourceFileContent

      public String getSourceFileContent()
      Returns the source file rendered in HTML.
      Gibt zurück:
      true if the source file is available, false otherwise