org.jboss.shrinkwrap.api
Interface Filter<T>


public interface Filter<T>

Used to filter inputs to be added to the target Archive. Used on multi-add operations such as Archive.merge(Archive, Filter).

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 boolean include(T object)
          Called per operation in a multi add operation.
 

Method Detail

include

boolean include(T object)
Called per operation in a multi add operation.

Parameters:
object - a object to filter on
Returns:
true if the object should be included in target


Copyright © 2012 JBoss by Red Hat. All Rights Reserved.