public class BooleanRestrictionImpl extends Object implements BooleanRestriction
BooleanRestriction.BooleanLogic| Constructor and Description |
|---|
BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic,
Collection<SearchRestriction> restrictions) |
BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic,
SearchRestriction... restrictions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BooleanRestriction.BooleanLogic |
getBooleanLogic()
Returns the boolean logic used against the collection of SearchRestriction returned by
BooleanRestriction.getRestrictions()
to determine if an item should be included in a search result. |
Collection<SearchRestriction> |
getRestrictions()
Returns a collection of restrictions.
|
int |
hashCode() |
String |
toString() |
public BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic, SearchRestriction... restrictions)
public BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic, Collection<SearchRestriction> restrictions)
public final Collection<SearchRestriction> getRestrictions()
BooleanRestrictiongetRestrictions in interface BooleanRestrictionto implement no restrictions.public final BooleanRestriction.BooleanLogic getBooleanLogic()
BooleanRestrictionBooleanRestriction.getRestrictions()
to determine if an item should be included in a search result.getBooleanLogic in interface BooleanRestrictionCopyright © 2018 Atlassian. All rights reserved.