Interface Checker
-
- All Known Implementing Classes:
DESeq2DesignChecker,GenomeChecker,GFFChecker,GTFChecker,ReadsChecker
public interface CheckerThis interface define a checker.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheck(Data data, CheckStore checkInfo)Launch the check.voidconfigure(Set<Parameter> stepParameters)Set the parameters of the checker to configure the checker.Set<DataFormat>getCheckersRequired()Get the list of Checker required to run before this checker.DataFormatgetFormat()Get format related to the checker.StringgetName()Get the name of the checker.booleanisDesignChecker()Test if the Checker is a design checker
-
-
-
Method Detail
-
getName
String getName()
Get the name of the checker.- Returns:
- the name of the checker
-
isDesignChecker
boolean isDesignChecker()
Test if the Checker is a design checker
-
getFormat
DataFormat getFormat()
Get format related to the checker.- Returns:
- a DataFormat object
-
configure
void configure(Set<Parameter> stepParameters) throws EoulsanException
Set the parameters of the checker to configure the checker.- Parameters:
stepParameters- parameters of the step- Throws:
EoulsanException- if a parameter is invalid
-
check
boolean check(Data data, CheckStore checkInfo) throws EoulsanException
Launch the check.- Parameters:
data- data to checkcheckInfo- object that contains data shared between the checkers- Throws:
EoulsanException- if an error occurs while executing step
-
getCheckersRequired
Set<DataFormat> getCheckersRequired()
Get the list of Checker required to run before this checker.- Returns:
- a list of DataFormat that are checked by the required checkers
-
-