Class PlaintextWriter
java.lang.Object
io.jenkins.plugins.genericchart.regenerate.PlaintextWriter
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallUsedPastBuilds(List<ChartPoint> oneChartAllData, parser.logical.ExpressionLogger outputControlCandidate, boolean running, String pkey, String glob) booleancalcSingleChartAndResolve(LoadedChart chart, List<ChartPoint> oneChartAllData, parser.logical.ExpressionLogger outputControlCandidate, String anotherUrlOrBody) voidclose()voidcloseAllCharts(int failures, String displayName, int buildId, String jobName, parser.logical.ExpressionLogger ex) voidvoidfooterr(String jobName, String buildName, int buildNumber, String url, long buildtime, long duration) voidintroductionChartsCount(int loadedChartsCunt, int buildId, String displayName, String jobName) voidintroductionTimes(String status, long duration, long startTime) voidvoidsingleChartTitle(LoadedChart chart, int chartCounter, int loadedChartsCount) voidwriteHeader(String jobName, String buildName, int buildNumber, String url, long buildtime, long duration) Writes the common header for all report types.
-
Field Details
-
GENERIC_CHART_RESULTS_TXT
- See Also:
-
GENERIC_CHART_RESULTS_PROPS
- See Also:
-
GENERIC_CHART_RESULTS_HISTORY
- See Also:
-
-
Constructor Details
-
PlaintextWriter
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
println
- Throws:
RuntimeException
-
writeHeader
public void writeHeader(String jobName, String buildName, int buildNumber, String url, long buildtime, long duration) throws IOException Writes the common header for all report types.- Throws:
IOException
-
introductionChartsCount
public void introductionChartsCount(int loadedChartsCunt, int buildId, String displayName, String jobName) throws IOException - Throws:
IOException
-
introductionTimes
- Throws:
IOException
-
singleChartTitle
public void singleChartTitle(LoadedChart chart, int chartCounter, int loadedChartsCount) throws IOException - Throws:
IOException
-
allUsedPastBuilds
public void allUsedPastBuilds(List<ChartPoint> oneChartAllData, parser.logical.ExpressionLogger outputControlCandidate, boolean running, String pkey, String glob) throws IOException - Throws:
IOException
-
closeAllCharts
-
calcSingleChartAndResolve
public boolean calcSingleChartAndResolve(LoadedChart chart, List<ChartPoint> oneChartAllData, parser.logical.ExpressionLogger outputControlCandidate, String anotherUrlOrBody) throws IOException - Throws:
IOException
-