public class LabelQuery extends Object implements SearchQuery
Label.| Constructor and Description |
|---|
LabelQuery(@NonNull Label label)
Construct a LabelQuery directly from the Label instance to be searched for
|
LabelQuery(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
Strings or SearchQuerys. |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBoost, getSubClausespublic LabelQuery(String label)
label - a representations of a label. Can be namespaced.LabelParserpublic LabelQuery(@NonNull Label label)
label - the label to search forpublic String getKey()
getKey in interface SearchQuerypublic List getParameters()
SearchQueryStrings or SearchQuerys.getParameters in interface SearchQueryStrings or SearchQuerys.public String getLabelAsString()
public SearchQuery expand()
SearchQueryexpand in interface Expandable<SearchQuery>expand in interface SearchQueryCopyright © 2003–2022 Atlassian. All rights reserved.