Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
This patch will contribute a PreConditionComparator implementation that will ignore a specific file type with a particular extension. Users would leverage it by adding e.g., something like the below to precondition-beans.xml, for example to only extract metadata from HDF files:
<bean id="OnlyExtractHdf" lazy-init="true" class="org.apache.oodt.cas.metadata.preconditions.EndsWithComparator"> <property name="description" value="Checks the file extension and only extracts met from those files."/> <property name="compareItem"> <value type="java.lang.String">hdf</value> </property> <property name="type" value="equal_to"/> </bean>