public class TusarCoverageInputMetric
extends org.jenkinsci.lib.dtkit.model.InputMetricOther
Constructor and Description |
---|
TusarCoverageInputMetric() |
Modifier and Type | Method and Description |
---|---|
void |
convert(File inputFile,
File outFile,
Map<String,Object> params)
Convert an input file to an output file
Give your conversion process
Input and Output files are relatives to the filesystem where the process is executed on (like Hudson agent)
|
String |
getToolName() |
org.jenkinsci.lib.dtkit.model.InputType |
getToolType() |
boolean |
isDefault() |
boolean |
validateInputFile(File inputXMLFile) |
boolean |
validateOutputFile(File inputXMLFile) |
convert, equals, getInputValidationErrors, getLabel, getOutputFormatType, getOutputValidationErrors, getToolVersion, hashCode, setInputMetricType, setInputValidationErrors, setLabel, setOutputFormatType, setOutputValidationErrors, setToolName, setToolType, setToolVersion
public org.jenkinsci.lib.dtkit.model.InputType getToolType()
getToolType
in class org.jenkinsci.lib.dtkit.model.InputMetric
public String getToolName()
getToolName
in class org.jenkinsci.lib.dtkit.model.InputMetric
public boolean isDefault()
isDefault
in class org.jenkinsci.lib.dtkit.model.InputMetric
public void convert(File inputFile, File outFile, Map<String,Object> params) throws org.jenkinsci.lib.dtkit.util.converter.ConversionException
convert
in class org.jenkinsci.lib.dtkit.model.InputMetric
inputFile
- the input file to convertoutFile
- the output file to convertparams
- the xsl parametersorg.jenkinsci.lib.dtkit.util.converter.ConversionException
- an application Exception to throw when there is an error of conversion
The exception is catched by the API client (as Hudson plugin)public boolean validateInputFile(File inputXMLFile) throws org.jenkinsci.lib.dtkit.util.validator.ValidationException
validateInputFile
in class org.jenkinsci.lib.dtkit.model.InputMetric
org.jenkinsci.lib.dtkit.util.validator.ValidationException
public boolean validateOutputFile(File inputXMLFile) throws org.jenkinsci.lib.dtkit.util.validator.ValidationException
validateOutputFile
in class org.jenkinsci.lib.dtkit.model.InputMetric
org.jenkinsci.lib.dtkit.util.validator.ValidationException
Copyright © 2004-2015. All Rights Reserved.