Class ResolvingCvRuleHandler
- java.lang.Object
-
- de.isas.mztab2.validation.handlers.ResolvingCvRuleHandler
-
- All Implemented Interfaces:
CvRuleHandler
public class ResolvingCvRuleHandler extends Object implements CvRuleHandler
Implements resolution of cv parameters using the provided lookup service.- Author:
- nilshoffmann
-
-
Constructor Summary
Constructors Constructor Description ResolvingCvRuleHandler(CvParameterLookupService client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleEvaluationResult
handleRule(info.psidev.cvmapping.CvMappingRule rule, List<org.apache.commons.lang3.tuple.Pair<org.apache.commons.jxpath.Pointer,de.isas.mztab2.model.Parameter>> filteredSelection)
Handle the provided rule according to the implementor's logic.
-
-
-
Constructor Detail
-
ResolvingCvRuleHandler
public ResolvingCvRuleHandler(CvParameterLookupService client)
-
-
Method Detail
-
handleRule
public RuleEvaluationResult handleRule(info.psidev.cvmapping.CvMappingRule rule, List<org.apache.commons.lang3.tuple.Pair<org.apache.commons.jxpath.Pointer,de.isas.mztab2.model.Parameter>> filteredSelection)
Description copied from interface:CvRuleHandler
Handle the provided rule according to the implementor's logic. The rule is applied to all elements within the filtered selection where it is applicable.- Specified by:
handleRule
in interfaceCvRuleHandler
- Parameters:
rule
- the rule to applyfilteredSelection
- the selection of pointer,paramter pairs to apply the rule on- Returns:
- the rule evaluation result
-
-