org.fusesource.mvnplugins.uberize.transformer
Class PickResource

java.lang.Object
  extended by org.fusesource.mvnplugins.uberize.transformer.Resources
      extended by org.fusesource.mvnplugins.uberize.transformer.AbstractPathTransformer
          extended by org.fusesource.mvnplugins.uberize.transformer.PickResource
All Implemented Interfaces:
Transformer

public class PickResource
extends AbstractPathTransformer

A transformer that picks either the first or last resource from all the available files.

Author:
Hiram Chirino

Field Summary
 String pick
           
 
Fields inherited from class org.fusesource.mvnplugins.uberize.transformer.Resources
excludes, ignoreCase, includes
 
Constructor Summary
PickResource()
           
 
Method Summary
protected  UberEntry process(Uberizer uberizer, UberEntry entry, File target)
           
 
Methods inherited from class org.fusesource.mvnplugins.uberize.transformer.AbstractPathTransformer
process
 
Methods inherited from class org.fusesource.mvnplugins.uberize.transformer.Resources
getExcludes, getIncludes, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pick

public String pick
Constructor Detail

PickResource

public PickResource()
Method Detail

process

protected UberEntry process(Uberizer uberizer,
                            UberEntry entry,
                            File target)
                     throws IOException
Specified by:
process in class AbstractPathTransformer
Throws:
IOException


Copyright © 2009-2011 FuseSource. All Rights Reserved.