ShrinkWrap Resolver API 2.0.0-alpha-2

org.jboss.shrinkwrap.resolver.api
Interface ResolutionFilter<COORDINATETYPE extends Coordinate>


public interface ResolutionFilter<COORDINATETYPE extends Coordinate>

Contract for an exclusion-based filter applied during resolution of a Coordinate. Applies a selective passthrough mechanism. May be chained alongside other ResolutionFilters to comprise a ResolutionStrategy.

Author:
Andrew Lee Rubinger

Method Summary
 boolean accepts(COORDINATETYPE coordinate)
          Determines whether or not a Coordinate is accepted by this filter.
 

Method Detail

accepts

boolean accepts(COORDINATETYPE coordinate)
                throws IllegalArgumentException
Determines whether or not a Coordinate is accepted by this filter.

Parameters:
coordinate -
Returns:
Throws:
IllegalArgumentException

ShrinkWrap Resolver API 2.0.0-alpha-2

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