public class AttachmentTypeQuery extends AbstractParameterListQuery<Attachment.Type>
parameters
Constructor and Description |
---|
AttachmentTypeQuery(Attachment.Type fileType)
Search for attachments of a given type.
|
AttachmentTypeQuery(Set<Attachment.Type> fileTypes)
Search for attachments within any of a collection of types.
|
Modifier and Type | Method and Description |
---|---|
SearchQuery |
expand()
Expands this query into a composite query (that composes other queries).
|
String |
getKey() |
equals, getParameters, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBoost
public AttachmentTypeQuery(Attachment.Type fileType)
fileType
- the type to search forpublic AttachmentTypeQuery(Set<Attachment.Type> fileTypes)
fileTypes
- a set of types to search forpublic String getKey()
public SearchQuery expand()
SearchQuery
Copyright © 2003–2020 Atlassian. All rights reserved.