Class SourceDetail

  • All Implemented Interfaces:
    ModelObject

    @Deprecated
    public class SourceDetail
    extends Object
    implements ModelObject
    Deprecated.
    moved to Prism API plugin
    Renders a source file containing an issue for the whole file or a specific line number.
    Author:
    Ullrich Hafner
    • Constructor Detail

      • SourceDetail

        public SourceDetail​(Run<?,​?> owner,
                            Reader affectedFile,
                            edu.hm.hafner.analysis.Issue issue,
                            String description,
                            String iconUrl)
        Deprecated.
        Creates a new instance of this source code object.
        Parameters:
        owner - the current build as owner of this view
        affectedFile - the file to show
        issue - the issue to show in the source file
        description - a detailed description of the specified issue
        iconUrl - absolute URL to the small icon of the static analysis tool
    • Method Detail

      • getOwner

        public Run<?,​?> getOwner()
        Deprecated.
        Returns the build as owner of this view.
        Returns:
        the build
      • getSourceCode

        public String getSourceCode()
        Deprecated.
        Returns the colorized source code.
        Returns:
        the source code