public class LabelQuery extends Object implements SearchQuery
Label
.Constructor and Description |
---|
LabelQuery(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() |
public LabelQuery(String label)
label
- a representations of a label. Can be namespaced.LabelParser
public 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–2018 Atlassian. All rights reserved.