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) |
Modifier and Type | Method and Description |
---|---|
boolean |
eval(List<String> preCondComparatorIds,
File product)
Evaluates whether all preconditions pass or not
|
public PreCondEvalUtils(org.springframework.context.ApplicationContext applicationContext)
public boolean eval(List<String> preCondComparatorIds, File product)
preCondComparatorIds
- 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–2017 Apache OODT. All rights reserved.