Class ConsoleLogHandler
- java.lang.Object
-
- io.jenkins.plugins.analysis.core.util.ConsoleLogHandler
-
public final class ConsoleLogHandler extends Object
Handles references to issues in the console log.- Author:
- Ullrich Hafner
-
-
Field Summary
Fields Modifier and Type Field Description static String
JENKINS_CONSOLE_LOG_FILE_NAME_ID
ID that indicates that an issue references a line in the console log of a build.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isInConsoleLog(String fileName)
Returns whether the specified issue refers to a line in the console log.
-
-
-
Field Detail
-
JENKINS_CONSOLE_LOG_FILE_NAME_ID
public static final String JENKINS_CONSOLE_LOG_FILE_NAME_ID
ID that indicates that an issue references a line in the console log of a build.- See Also:
- Constant Field Values
-
-
Method Detail
-
isInConsoleLog
public static boolean isInConsoleLog(String fileName)
Returns whether the specified issue refers to a line in the console log.- Parameters:
fileName
- the affected file- Returns:
true
if the issue refers to a line in the console log,false
if the issue refers to a source code file in the workspace
-
-