com.thalesgroup.dtkit.tusar
Class Gnatcheck
java.lang.Object
com.thalesgroup.dtkit.metrics.model.InputMetric
com.thalesgroup.dtkit.metrics.model.InputMetricOther
com.thalesgroup.dtkit.tusar.Gnatcheck
- All Implemented Interfaces:
- Serializable
public class Gnatcheck
- extends com.thalesgroup.dtkit.metrics.model.InputMetricOther
- See Also:
- Serialized Form
| Methods inherited from class com.thalesgroup.dtkit.metrics.model.InputMetricOther |
getInputMetricType |
| Methods inherited from class com.thalesgroup.dtkit.metrics.model.InputMetric |
convert, equals, getInputValidationErrors, getLabel, getOutputFormatType, getOutputValidationErrors, hashCode, setInputMetricType, setInputValidationErrors, setLabel, setOutputFormatType, setOutputValidationErrors, setToolName, setToolType, setToolVersion |
Gnatcheck
public Gnatcheck()
getToolType
public com.thalesgroup.dtkit.metrics.model.InputType getToolType()
- Overrides:
getToolType in class com.thalesgroup.dtkit.metrics.model.InputMetric
getToolName
public String getToolName()
- Overrides:
getToolName in class com.thalesgroup.dtkit.metrics.model.InputMetric
getToolVersion
public String getToolVersion()
- Overrides:
getToolVersion in class com.thalesgroup.dtkit.metrics.model.InputMetric
isDefault
public boolean isDefault()
- Overrides:
isDefault in class com.thalesgroup.dtkit.metrics.model.InputMetric
convert
public void convert(File inputFile,
File outFile,
Map<String,Object> params)
throws com.thalesgroup.dtkit.util.converter.ConversionException
- 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)
- Specified by:
convert in class com.thalesgroup.dtkit.metrics.model.InputMetric
- Parameters:
inputFile - the input file to convertoutFile - the output file to convertparams - the xsl parameters
- Throws:
com.thalesgroup.dtkit.util.converter.ConversionException - an application Exception to throw when there is an error of conversion
The exception is catch by the API client (as Hudson plugin)
validateInputFile
public boolean validateInputFile(File inputXMLFile)
throws com.thalesgroup.dtkit.util.validator.ValidationException
- Specified by:
validateInputFile in class com.thalesgroup.dtkit.metrics.model.InputMetric
- Throws:
com.thalesgroup.dtkit.util.validator.ValidationException
validateOutputFile
public boolean validateOutputFile(File inputXMLFile)
throws com.thalesgroup.dtkit.util.validator.ValidationException
- Specified by:
validateOutputFile in class com.thalesgroup.dtkit.metrics.model.InputMetric
- Throws:
com.thalesgroup.dtkit.util.validator.ValidationException
Copyright © 2004-2012. All Rights Reserved.