Package | Description |
---|---|
com.almworks.jira.structure.api.attribute |
This package provides API for using attributes, a concept added by Structure platform for universal access
to item data.
|
com.almworks.jira.structure.api.forest | |
com.almworks.jira.structure.api.item | |
com.almworks.jira.structure.api.pull | |
com.almworks.jira.structure.api.rest |
Modifier and Type | Method and Description |
---|---|
DataVersion |
VersionedRowValues.getForestVersion()
Returns the version of the forest (defined by
ForestSpec ), which was used to calculate the values. |
DataVersion |
VersionedRowValues.EmptyVersionedRowValues.getForestVersion() |
DataVersion |
VersionedRowValues.getItemsVersion()
Returns the global version of items, which was current when the values were calculated.
|
DataVersion |
VersionedRowValues.EmptyVersionedRowValues.getItemsVersion() |
Modifier and Type | Method and Description |
---|---|
DataVersion |
VersionedForest.getVersion()
Returns the version.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ForestSource.hasUpdate(DataVersion sinceVersion)
This method allows to quickly check if the caller has the last version of the forest.
|
Constructor and Description |
---|
VersionedForest(Forest forest,
DataVersion version)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
abstract DataVersion |
ItemVersionUpdate.getFromVersion() |
DataVersion |
ItemVersionUpdate.Empty.getFromVersion() |
DataVersion |
ItemVersionUpdate.Total.getFromVersion() |
Modifier and Type | Method and Description |
---|---|
ItemVersionUpdate |
ItemTracker.getUpdate(DataVersion fromVersion)
Provides an update on the tracked items, based on the previously seen signature and version.
|
Constructor and Description |
---|
Empty(DataVersion version) |
ItemVersionUpdate(DataVersion version) |
Total(DataVersion version) |
Modifier and Type | Field and Description |
---|---|
static DataVersion |
DataVersion.ZERO |
Modifier and Type | Method and Description |
---|---|
DataVersion |
VersionedDataSource.getCurrentVersion()
Returns the current version of the data without triggering data source's recalculation.
|
DataVersion |
VersionedDataUpdate.getVersion()
Returns the version associated with this update.
|
DataVersion |
DataVersion.increment()
Creates a new
DataVersion with version incremented by 1. |
DataVersion |
DataVersion.increment(int count)
Creates a new
DataVersion with version incremented by the specified amount. |
Modifier and Type | Method and Description |
---|---|
T |
VersionedDataSource.getUpdate(DataVersion fromVersion)
Returns an update based on the version of the data that the client has.
|
boolean |
DataVersion.isBefore(DataVersion anotherVersion)
Returns
true if this version is "before" the given version, that is, it has the same signature
and lower version. |
boolean |
DataVersion.isComparable(DataVersion anotherVersion)
Returns
true if this version can be compared to the specified version (that is possible only if
their signatures match) |
Constructor and Description |
---|
VersionedDataUpdate(DataVersion version) |
Modifier and Type | Method and Description |
---|---|
DataVersion |
RestVersion.toModel() |
Modifier and Type | Method and Description |
---|---|
static RestVersion |
RestVersion.fromModel(DataVersion version) |
Copyright © 2017 ALM Works. All Rights Reserved.