public class Combine extends Object
QueryBuilder.| Constructor and Description |
|---|
Combine() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanRestriction |
allOf(Collection<SearchRestriction> restrictions)
Returns an AND boolean search restriction where all of the search restrictions have to be satisfied.
|
static BooleanRestriction |
allOf(SearchRestriction... restrictions)
Returns an AND boolean search restriction where all of the search restrictions have to be satisfied.
|
static BooleanRestriction |
anyOf(Collection<SearchRestriction> restrictions)
Returns an OR boolean search restriction where only one or more of the search restrictions have to be
satisfied.
|
static BooleanRestriction |
anyOf(SearchRestriction... restrictions)
Returns an OR boolean search restriction where only one or more of the search restrictions have to be
satisfied.
|
static SearchRestriction |
optionalAllOf(SearchRestriction... optionalRestrictions)
Returns a combined restriction where all of the non-empty search restrictions have to be satisfied.
|
public static BooleanRestriction anyOf(SearchRestriction... restrictions)
restrictions - search restrictionspublic static BooleanRestriction allOf(SearchRestriction... restrictions)
restrictions - search restrictionspublic static BooleanRestriction anyOf(Collection<SearchRestriction> restrictions)
restrictions - search restrictionspublic static BooleanRestriction allOf(Collection<SearchRestriction> restrictions)
restrictions - search restrictionspublic static SearchRestriction optionalAllOf(SearchRestriction... optionalRestrictions)
optionalRestrictions - restrictions, NullRestriction.INSTANCE
are considered empty and skippedCopyright © 2019 Atlassian. All rights reserved.