public class BooleanRestrictionImpl extends Object implements BooleanRestriction
BooleanRestriction.BooleanLogic
Constructor and Description |
---|
BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic,
Collection<? extends 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<? extends SearchRestriction> restrictions)
public final Collection<SearchRestriction> getRestrictions()
BooleanRestriction
getRestrictions
in interface BooleanRestriction
to implement no restrictions.
public final BooleanRestriction.BooleanLogic getBooleanLogic()
BooleanRestriction
BooleanRestriction.getRestrictions()
to determine if an item should be included in a search result.getBooleanLogic
in interface BooleanRestriction
Copyright © 2020 Atlassian. All rights reserved.