public class FileExtensionQuery extends Object implements SearchQuery
Constructor and Description |
---|
FileExtensionQuery(String fileExtension)
Construct a new query for a given file extension
|
Modifier and Type | Method and Description |
---|---|
SearchQuery |
expand()
Expands this query into a composite query (that composes other queries).
|
String |
getFileExtension() |
String |
getKey() |
List |
getParameters()
List of parameters as
String s or SearchQuery s. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBoost
public static final String KEY
public FileExtensionQuery(String fileExtension)
fileExtension
- the extension (without a period)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 getFileExtension()
public SearchQuery expand()
SearchQuery
expand
in interface Expandable<SearchQuery>
expand
in interface SearchQuery
Copyright © 2003–2021 Atlassian. All rights reserved.