org.springframework.shell.support.util
Interface Filter<T>

Type Parameters:
T - the type of object to be filtered

public interface Filter<T>

Allows filtering of objects of type T.

Since:
1.2.0

Method Summary
 boolean include(T instance)
          Indicates whether to include the given instance in the filtered results
 

Method Detail

include

boolean include(T instance)
Indicates whether to include the given instance in the filtered results

Parameters:
type - the type to evaluate; can be null
Returns:
false to exclude the given type