public class ConsistencyGroupFilter extends DefaultResourceFilter<BlockConsistencyGroupRestRep>
Constructor and Description |
---|
ConsistencyGroupFilter(java.lang.String type,
boolean allowEmptyType)
Creates a filter with specific type and option to accept consistency groups with no types
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(BlockConsistencyGroupRestRep item) |
public ConsistencyGroupFilter(java.lang.String type, boolean allowEmptyType)
type
- consistency group type to filter byallowEmptyType
- if true, accept consistency groups with no typespublic boolean accept(BlockConsistencyGroupRestRep item)
accept
in interface ResourceFilter<BlockConsistencyGroupRestRep>
accept
in class DefaultResourceFilter<BlockConsistencyGroupRestRep>