public class PreCondEvalUtils extends Object implements PreConditionOperatorMetKeys
Evaluation utility for metadata extractor preconditions
.EQUAL_TO, GREATER_THAN, LESS_THAN, NOT_EQUAL_TO
Constructor and Description |
---|
PreCondEvalUtils(org.springframework.context.ApplicationContext applicationContext) |
public PreCondEvalUtils(org.springframework.context.ApplicationContext applicationContext)
public boolean eval(List<String> preCondComparatorIds, File product)
preconditions
- The String identifiers of the PreConditionComparator
s
in questionproduct
- the File
to test the preconditions against to
determine whether or not the MetExtractor
should be
run or not.Copyright © 1999-2014 Apache OODT. All Rights Reserved.