
com.almworks.jira.structure.api2g.attribute.VersionedRowValues Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
package com.almworks.jira.structure.api2g.attribute;
import com.almworks.jira.structure.api2g.DataVersion;
import org.jetbrains.annotations.NotNull;
public interface VersionedRowValues extends RowValues {
@NotNull
DataVersion getForestVersion();
@NotNull
DataVersion getItemsVersion();
@NotNull
AttributeTrail getTrail(AttributeSpec> attribute);
// todo add method to extract information about problems encountered during calculation? on the other hand, the older AggregateResult does not have such methods
VersionedRowValues EMPTY = new VersionedRowValues() {
@NotNull
public DataVersion getForestVersion() {
return DataVersion.ZERO;
}
@NotNull
public DataVersion getItemsVersion() {
return DataVersion.ZERO;
}
@NotNull
public AttributeTrail getTrail(AttributeSpec> attribute) {
return AttributeTrail.EMPTY;
}
public T get(Long row, AttributeSpec attribute) {
return null;
}
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy