Skip to content

SpecGroup

Fagner Lima edited this page Aug 24, 2020 · 1 revision

Define a new group of conditions.

Params:

  • operator: the operator used in the group (SpecOperator enum).

Example:

@SpecEntity(Task.class)
public class TaskFilter implements Serializable {
  // ...

  @SpecGroup(operator = SpecOperator.OR)
  private SampleFilter sample;

  // getters and setters
}

Clone this wiki locally