Klasse SourceCodePainter
java.lang.Object
io.jenkins.plugins.coverage.model.visualization.code.SourceCodePainter
Processes the source code painting for highlighting code coverage.
-
Konstruktorübersicht
KonstruktorBeschreibungSourceCodePainter
(Run<?, ?> build, FilePath workspace) Creates a painter for the passed build, using the passed properties. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
processSourceCodePainting
(Set<Map.Entry<CoverageNode, CoveragePaint>> paintedFiles, Set<String> sourceDirectories, String sourceCodeEncoding, io.jenkins.plugins.prism.SourceCodeRetention sourceCodeRetention, edu.hm.hafner.util.FilteredLog log) Processes the source code painting.
-
Konstruktordetails
-
SourceCodePainter
Creates a painter for the passed build, using the passed properties.- Parameter:
build
- The build which processes the source codeworkspace
- The workspace which contains the source code files
-
-
Methodendetails
-
processSourceCodePainting
public void processSourceCodePainting(Set<Map.Entry<CoverageNode, CoveragePaint>> paintedFiles, Set<String> sourceDirectories, String sourceCodeEncoding, io.jenkins.plugins.prism.SourceCodeRetention sourceCodeRetention, edu.hm.hafner.util.FilteredLog log) throws InterruptedExceptionProcesses the source code painting.- Parameter:
paintedFiles
- The files to be painted together with the information which lines has to be highlightedsourceDirectories
- the source directories that have been configured in the associated jobsourceCodeEncoding
- the encoding of the source code filessourceCodeRetention
- the source code retention strategylog
- The log- Löst aus:
InterruptedException
- if the painting process has been interrupted
-