Class StaticScanSummaryController
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.controllers.StaticScanSummaryController
-
public class StaticScanSummaryController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected FodApiConnection
apiConnection
protected String
correlationId
protected PrintStream
logger
-
Constructor Summary
Constructors Constructor Description StaticScanSummaryController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getCorrelationId()
ScanSummaryDTO
getReleaseScanSummary(int releaseId, int scanId)
protected void
println(String log)
protected void
printStackTrace(Exception e)
-
-
-
Field Detail
-
apiConnection
protected FodApiConnection apiConnection
-
correlationId
protected String correlationId
-
logger
protected PrintStream logger
-
-
Constructor Detail
-
StaticScanSummaryController
public StaticScanSummaryController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
-
Method Detail
-
getReleaseScanSummary
public ScanSummaryDTO getReleaseScanSummary(int releaseId, int scanId) throws IOException
- Parameters:
releaseId
- releaseId is used in url query stringscanId
- scanId is used in url query string at_return ScanSummaryDTO- Throws:
IOException
- in some circumstances
-
getCorrelationId
protected String getCorrelationId()
-
println
protected void println(String log)
-
printStackTrace
protected void printStackTrace(Exception e)
-
-