You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2011/05/03 23:25:03 UTC

[jira] [Assigned] (OODT-188) Precondition Comparator to ignore files with a particular extension

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

Chris A. Mattmann reassigned OODT-188:
--------------------------------------

    Assignee: Chris A. Mattmann

> 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