Class SourceDetail
- java.lang.Object
-
- io.jenkins.plugins.analysis.core.model.SourceDetail
-
- All Implemented Interfaces:
ModelObject
@Deprecated public class SourceDetail extends Object implements ModelObject
Deprecated.moved to Prism API pluginRenders a source file containing an issue for the whole file or a specific line number.- Author:
- Ullrich Hafner
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayName()
Deprecated.Run<?,?>
getOwner()
Deprecated.Returns the build as owner of this view.String
getSourceCode()
Deprecated.Returns the colorized source code.
-
-
-
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 viewaffectedFile
- the file to showissue
- the issue to show in the source filedescription
- a detailed description of the specified issueiconUrl
- absolute URL to the small icon of the static analysis tool
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Deprecated.- Specified by:
getDisplayName
in interfaceModelObject
-
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
-
-