oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OODT-188) Precondition Comparator to ignore files with a particular extension
Date Tue, 03 May 2011 21:33:03 GMT

     [ https://issues.apache.org/jira/browse/OODT-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris A. Mattmann resolved OODT-188.
------------------------------------

    Resolution: Fixed

- fixed in r1099268. Quick version committed, comments welcome.

> Precondition Comparator to ignore files with a particular extension
> -------------------------------------------------------------------
>
>                 Key: OODT-188
>                 URL: https://issues.apache.org/jira/browse/OODT-188
>             Project: OODT
>          Issue Type: New Feature
>          Components: metadata container
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>              Labels: comparator, file, oodt, precondition, type
>             Fix For: 0.3
>
>
> 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:
> {code:xml}
>     <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>
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message