public class InheritedLabelQuery extends Object implements SearchQuery
Label
that was inherited from a piece of
parent content, for example, searching for comments attached to pages with a certain labelConstructor and Description |
---|
InheritedLabelQuery(Label label)
Construct a LabelQuery directly from the Label instance to be searched for
|
InheritedLabelQuery(String label)
Construct a LabelQuery from a string representation of a label.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SearchQuery |
expand()
Expands this query into a composite query (that composes other queries).
|
String |
getKey() |
String |
getLabelAsString() |
List |
getParameters()
List of parameters as
String s or SearchQuery s. |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBoost
public InheritedLabelQuery(String label)
label
- a representations of a label. Can be namespaced.LabelParser
public InheritedLabelQuery(Label label)
label
- the label to search forpublic String getKey()
getKey
in interface SearchQuery
public List getParameters()
SearchQuery
String
s or SearchQuery
s.getParameters
in interface SearchQuery
String
s or SearchQuery
s.public String getLabelAsString()
public SearchQuery expand()
SearchQuery
expand
in interface Expandable<SearchQuery>
expand
in interface SearchQuery
Copyright © 2003–2019 Atlassian. All rights reserved.