-
Notifications
You must be signed in to change notification settings - Fork 1
SpecBuilder
Fagner Lima edited this page Aug 24, 2020
·
1 revision
The SpecBuilder build Specifications using filter classes with Spec annotations. The filter class requires, at least, the SpecEntity annotation indicating the entity class.
@SpecEntity(Task.class)
public class TaskFilter implements Serializable {
// ...
}The properties of the filter will be used by SpecBuilder to build the Specification. All of the properties require getters and setters. By default, the property will result a single condition with the "equal operator", but you can custom the conditions with the Spec annotations.