public class JenkinsConsoler extends Object
Constructor and Description |
---|
JenkinsConsoler() |
Modifier and Type | Method and Description |
---|---|
void |
end() |
void |
error(String error) |
static JenkinsConsoler |
getInstance() |
void |
log(String line) |
void |
logPure(String line) |
void |
printReportString(List<FileResult> results)
Print a report of the fileResults.
|
void |
setStream(PrintStream printStream) |
void |
start(boolean failIfVulns,
boolean includeSubdirectories)
Print start BDBA Jenkins plugin message TODO: take some nice key-value-pair list instead of this
1990-java-style stuff.
|
public static JenkinsConsoler getInstance()
public void setStream(PrintStream printStream)
public void log(String line)
public void logPure(String line)
public void error(String error)
public void start(boolean failIfVulns, boolean includeSubdirectories)
failIfVulns
- info to printincludeSubdirectories
- info to printgroup
- for printing the group into which the files are uploadedpublic void end()
public void printReportString(List<FileResult> results)
results
- The fileresult set from which to print the reportCopyright © 2016–2023. All rights reserved.