Class ConsoleDetail
java.lang.Object
io.jenkins.plugins.analysis.core.model.ConsoleDetail
- All Implemented Interfaces:
ModelObject
Renders a section of the console log.
- Author:
- Ullrich Hafner
-
Constructor Summary
ConstructorDescriptionConsoleDetail
(Run<?, ?> owner, Stream<String> consoleLog, int from, int to) Creates a new instance of this console log viewer object. -
Method Summary
-
Constructor Details
-
ConsoleDetail
Creates a new instance of this console log viewer object.- Parameters:
owner
- the current build as owner of this viewconsoleLog
- the lines of the console logfrom
- first line in the console logto
- last line in the console log
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
-
getOwner
Returns the build as owner of this view.- Returns:
- the build
-
getSourceCode
Returns the line that should be highlighted.- Returns:
- the line to highlight
-