public final class ApplicationVersionsQuery extends Object implements QueryProperties.Bounds, QueryProperties.Hosting
Applications.safeGetVersion(com.atlassian.marketplace.client.api.ApplicationKey, com.atlassian.marketplace.client.api.ApplicationVersionSpecifier).| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationVersionsQuery.Builder
Builder class for
ApplicationVersionsQuery. |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationVersionsQuery |
any()
Returns an ApplicationsQuery with no criteria, which will query the most recent application versions.
|
static ApplicationVersionsQuery.Builder |
builder()
Returns a new
ApplicationVersionsQuery.Builder for constructing an ApplicationVersionsQuery. |
static ApplicationVersionsQuery.Builder |
builder(ApplicationVersionsQuery query)
Returns a new
ApplicationVersionsQuery.Builder for constructing an ApplicationVersionsQuery based on an existing ApplicationVersionsQuery. |
boolean |
equals(Object other) |
QueryBounds |
getBounds()
The offset/limit parameters attached to this query.
|
int |
hashCode() |
Optional<Integer> |
safeGetAfterBuildNumber()
The version build number, if any, that the client has specified in order to search for
later versions.
|
Optional<HostingType> |
safeGetHosting()
The hosting type that the client is using to restrict the query, if any.
|
String |
toString() |
public static ApplicationVersionsQuery.Builder builder()
ApplicationVersionsQuery.Builder for constructing an ApplicationVersionsQuery.public static ApplicationVersionsQuery any()
public static ApplicationVersionsQuery.Builder builder(ApplicationVersionsQuery query)
ApplicationVersionsQuery.Builder for constructing an ApplicationVersionsQuery based on an existing ApplicationVersionsQuery.public Optional<Integer> safeGetAfterBuildNumber()
public Optional<HostingType> safeGetHosting()
QueryProperties.HostingsafeGetHosting in interface QueryProperties.HostingQueryBuilderProperties.Hosting.hosting(Optional)public QueryBounds getBounds()
QueryProperties.BoundsgetBounds in interface QueryProperties.BoundsQueryBuilderProperties.Bounds.bounds(QueryBounds)Copyright © 2019 Atlassian. All rights reserved.