Class MapJsonToPlugin
- java.lang.Object
-
- org.jenkinsci.plugins.benchmark.parsers.MapperBase
-
- org.jenkinsci.plugins.benchmark.parsers.JsonToPlugin.MapJsonToPlugin
-
public class MapJsonToPlugin extends MapperBase
Parser from JSON to the Jenkins plugin data construct- Since:
- 6/20/2017.
- Author:
- Daniel Mercier
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.benchmark.parsers.MapperBase
builds, decimalSeparator, detected, files, groups, hasHistoryThreshold, hasNumericResult, parameters, results, rootGroup, truncateStrings
-
-
Constructor Summary
Constructors Constructor Description MapJsonToPlugin(Integer build, FilePath content, com.google.gson.JsonElement schema, boolean truncateStrings)
MapJsonToPlugin(Integer build, FilePath content, String schema, boolean truncateStrings)
MapJsonToPlugin(Integer build, File content, com.google.gson.JsonElement schema, boolean truncateStrings)
MapJsonToPlugin(Integer build, Map<String,FilePath> content, com.google.gson.JsonElement schema, boolean truncateStrings, TaskListener listener)
MapJsonToPlugin(Integer build, Map<String,FilePath> content, String schema, boolean truncateStrings)
-
Method Summary
-
Methods inherited from class org.jenkinsci.plugins.benchmark.parsers.MapperBase
addAllThresholds, checkResult, checkThresholds, checkThresholdType, exportCondensedToFile, exportToFile, getBuild, getBuilds, getCSVCondensedTableBody, getCSVCondensedTableHeader, getCSVTableBody, getCSVTableHeader, getCSVTableStateBody, getDecimalSeparator, getDetected, getFiles, getGroups, getHTMLCondensedTable, getHTMLTable, getNumberOfFiles, getNumberOfGroups, getNumberOfParameters, getNumberOfResults, getParameters, getResults, getRootGroup, importCondensedFromFile, importCondensedFromFile, importFromFile, importFromFile, logKeyData, mergeWith, requiresHistory, setBuild
-
-
-
-
Constructor Detail
-
MapJsonToPlugin
public MapJsonToPlugin(Integer build, File content, com.google.gson.JsonElement schema, boolean truncateStrings) throws IOException, ValidationException
- Throws:
IOException
ValidationException
-
MapJsonToPlugin
public MapJsonToPlugin(Integer build, FilePath content, com.google.gson.JsonElement schema, boolean truncateStrings) throws IOException, ValidationException
- Throws:
IOException
ValidationException
-
MapJsonToPlugin
public MapJsonToPlugin(Integer build, Map<String,FilePath> content, com.google.gson.JsonElement schema, boolean truncateStrings, TaskListener listener) throws IOException, ValidationException
- Throws:
IOException
ValidationException
-
MapJsonToPlugin
public MapJsonToPlugin(Integer build, FilePath content, String schema, boolean truncateStrings) throws IOException, ValidationException
- Throws:
IOException
ValidationException
-
MapJsonToPlugin
public MapJsonToPlugin(Integer build, Map<String,FilePath> content, String schema, boolean truncateStrings) throws IOException, ValidationException
- Throws:
IOException
ValidationException
-
-