org.axonframework.eventstore.management
Interface Criteria

All Known Implementing Classes:
And, And, BinaryOperator, BinaryOperator, CollectionCriteria, CollectionCriteria, CollectionOperator, CollectionOperator, Equals, Equals, Equals, Equals, JdbcCriteria, JpaCriteria, MongoCriteria, MongoCriteria, NotEquals, NotEquals, Or, Or, SimpleMongoOperator, SimpleMongoOperator, SimpleOperator, SimpleOperator

public interface Criteria

Interface describing the criteria that DomainEvent entries must match against. These criteria can be combined with other criteria using AND and OR operators.

Since:
2.0
Author:
Allard Buijze

Method Summary
 Criteria and(Criteria criteria)
          Returns a criteria instance where both this and given criteria must match.
 Criteria or(Criteria criteria)
          Returns a criteria instance where either this or the given criteria must match.
 

Method Detail

and

Criteria and(Criteria criteria)
Returns a criteria instance where both this and given criteria must match.

Parameters:
criteria - The criteria that must match
Returns:
a criteria instance that matches if both this and criteria match

or

Criteria or(Criteria criteria)
Returns a criteria instance where either this or the given criteria must match.

Parameters:
criteria - The criteria that must match if this doesn't match
Returns:
a criteria instance that matches if this or the given criteria match


Copyright © 2010-2016. All Rights Reserved.