public static class ApplicationVersionsQuery.Builder extends Object implements QueryBuilderProperties.Bounds<ApplicationVersionsQuery.Builder>, QueryBuilderProperties.Hosting<ApplicationVersionsQuery.Builder>
ApplicationVersionsQuery. Use ApplicationVersionsQuery.builder() to create an instance.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationVersionsQuery.Builder |
afterBuildNumber(com.atlassian.fugue.Option<Integer> afterBuildNumber)
Specifies an existing version if you want to query versions that are later than that
version.
|
ApplicationVersionsQuery.Builder |
bounds(QueryBounds bounds)
Sets the starting offset and/or the maximum result page size for the query, from a
QueryBounds instance. |
ApplicationVersionsQuery |
build()
Returns an immutable
ApplicationVersionsQuery based on the current builder properties. |
ApplicationVersionsQuery.Builder |
hosting(com.atlassian.fugue.Option<HostingType> hosting)
Restricts the query to add-ons that support the given hosting type.
|
public ApplicationVersionsQuery build()
ApplicationVersionsQuery based on the current builder properties.public ApplicationVersionsQuery.Builder afterBuildNumber(com.atlassian.fugue.Option<Integer> afterBuildNumber)
afterBuildNumber - the build number of an existing application version
to restrict the query to versions later than this version, or Option.none() to
remove any such restrictionApplicationVersionsQuery.getAfterBuildNumber()public ApplicationVersionsQuery.Builder hosting(com.atlassian.fugue.Option<HostingType> hosting)
QueryBuilderProperties.Hostinghosting in interface QueryBuilderProperties.Hosting<ApplicationVersionsQuery.Builder>hosting - a HostingType constant, or Option.none() for no hosting filterpublic ApplicationVersionsQuery.Builder bounds(QueryBounds bounds)
QueryBuilderProperties.BoundsQueryBounds instance.bounds in interface QueryBuilderProperties.Bounds<ApplicationVersionsQuery.Builder>bounds - a QueryBounds specifying an offset and/or limitCopyright © 2019 Atlassian. All rights reserved.