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
String s or SearchQuery s. |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBoost
public LabelQuery(String label)
label
- a representations of a label. Can be namespaced.LabelParser
public LabelQuery(@NonNull 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–2020 Atlassian. All rights reserved.