Package org.jboss.arquillian.drone.spi
Interface FilterableResult<DRONE>
-
- All Superinterfaces:
Iterable<DronePoint<DRONE>>
public interface FilterableResult<DRONE> extends Iterable<DronePoint<DRONE>>
Utility interface for performing filter operation over a set of drone points.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FilterableResult<DRONE>filter(DronePointFilter<? super DRONE> filter)Returns a new instance ofFilterableResultwith contents of this instance filtered by given filter.DronePoint<DRONE>single()Returns a single injection point that get matched by all of specified filters.intsize()Returns number of drone points in this result.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
filter
FilterableResult<DRONE> filter(DronePointFilter<? super DRONE> filter)
Returns a new instance ofFilterableResultwith contents of this instance filtered by given filter.
-
single
DronePoint<DRONE> single()
Returns a single injection point that get matched by all of specified filters.- Throws:
IllegalStateException- if matched injection points count is not exactly one
-
size
int size()
Returns number of drone points in this result.
-
-