Package | Description |
---|---|
com.almworks.jira.structure.api.attribute.loader |
This package is a part of Structure Attributes SPI.
|
com.almworks.jira.structure.api.attribute.loader.basic | |
com.almworks.jira.structure.api.attribute.loader.builder | |
com.almworks.jira.structure.api.attribute.loader.delegate | |
com.almworks.jira.structure.api.export | |
com.almworks.jira.structure.api.forest.item | |
com.almworks.jira.structure.api.generator | |
com.almworks.jira.structure.api.generator.util | |
com.almworks.jira.structure.api.item | |
com.almworks.jira.structure.api.item.generic | |
com.almworks.jira.structure.api.query | |
com.almworks.jira.structure.api.row |
This package's primary citizen is
RowManager , a component
responsible for rows. |
com.almworks.jira.structure.api.sync | |
com.almworks.jira.structure.api.util |
Modifier and Type | Method and Description |
---|---|
StructureRow |
PropagateAttributeContext.Parent.getParent()
Returns the current parent row, which children are about to be calculated.
|
StructureRow |
ScanningAttributeContext.getPrecedingRow()
Returns the row that immediately precedes this row in the forest.
|
StructureRow |
RowAttributeContext.getRow()
Returns the row currently being loaded.
|
Modifier and Type | Method and Description |
---|---|
List<StructureRow> |
AggregateAttributeContext.getChildren()
Returns a list of children rows of the currently loaded row.
|
List<StructureRow> |
PropagateAttributeContext.Parent.getChildren()
Returns the list of all children of the parent row.
|
BiFunction<StructureRow,PropagateAttributeContext,AttributeValue<T>> |
PropagateAttributeLoader.loadChildren(AttributeValue<T> parentValue,
PropagateAttributeContext.Parent context)
Provider of a loading function for the children of the given parent row.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
SingleRowAttributeLoader.loadValue(StructureRow row,
SingleRowAttributeContext context)
The loading function.
|
Modifier and Type | Method and Description |
---|---|
BiFunction<StructureRow,PropagateAttributeContext,AttributeValue<T>> |
InheritedValueLoader.loadChildren(AttributeValue<T> parentValue,
PropagateAttributeContext.Parent parentContext) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
BaseSingleRowAttributeLoader.loadValue(StructureRow row,
SingleRowAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
SingleRowAttributeLoaderBuilder<T> |
SingleRowAttributeLoaderBuilder.valueFunction(BiFunction<StructureRow,SingleRowAttributeContext,T> valueFunction) |
SingleRowAttributeLoaderBuilder<T> |
SingleRowAttributeLoaderBuilder.valueFunction(Function<StructureRow,T> valueFunction) |
SingleRowAttributeLoaderBuilder<T> |
SingleRowAttributeLoaderBuilder.valueFunctionAV(BiFunction<StructureRow,SingleRowAttributeContext,AttributeValue<T>> valueFunction) |
SingleRowAttributeLoaderBuilder<T> |
SingleRowAttributeLoaderBuilder.valueFunctionAV(Function<StructureRow,AttributeValue<T>> valueFunction) |
Constructor and Description |
---|
BaseSingleRowAttributeLoader(AttributeSpec<T> attributeSpec,
Set<AttributeSpec<?>> dependencies,
Set<AttributeContextDependency> contextDependencies,
AttributeCachingStrategy cachingStrategy,
TrailItemSet globalTrail,
BiFunction<StructureRow,SingleRowAttributeContext,AttributeValue<T>> loadingFunction,
RowPreloadFunction preloadFunction,
boolean wholeForestDependent) |
Modifier and Type | Method and Description |
---|---|
BiFunction<StructureRow,PropagateAttributeContext,AttributeValue<T>> |
DelegatingPropagateAttributeLoader.loadChildren(AttributeValue<T> parentValue,
PropagateAttributeContext.Parent context) |
Modifier and Type | Method and Description |
---|---|
StructureRow |
ExportRow.getRow()
Returns the current
StructureRow instance. |
Modifier and Type | Method and Description |
---|---|
StructureRow |
ImmutableItemForest.getRow(long rowId,
ItemAccessMode access) |
StructureRow |
ManagerBackedItemForest.getRow(long rowId,
ItemAccessMode access) |
Modifier and Type | Method and Description |
---|---|
static ImmutableItemForest |
ImmutableItemForest.of(StructureRow row) |
Modifier and Type | Method and Description |
---|---|
static ImmutableItemForest |
ImmutableItemForest.of(Forest forest,
Map<Long,StructureRow> rows) |
void |
ManagerBackedItemForest.scanRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Predicate<StructureRow> iteratee) |
Modifier and Type | Method and Description |
---|---|
StructureRow |
StructurePosition.getAfter() |
StructureRow |
StructurePosition.getBefore() |
StructureRow |
StructurePosition.getUnder() |
Modifier and Type | Method and Description |
---|---|
int |
StructureGenerator.Sorter.CompareFunction.compare(StructureRow row1,
StructureRow row2) |
void |
StructureGenerator.Extender.ExtenderFunction.extend(StructureRow row,
ItemForestBuilder builder) |
Set<ItemIdentity> |
StructureGenerator.Grouper.GrouperFunction.getGroups(StructureRow row) |
boolean |
StructureGenerator.ApplicabilityChecker.isApplicableTo(StructureRow row) |
boolean |
StructureGenerator.Filter.FilterFunction.matches(StructureRow row) |
void |
ActionHandler.ExtenderActionHandler.moveExtension(StructureRow extension,
StructurePosition from,
StructurePosition to,
StructureGenerator.HandlingContext context) |
void |
ActionHandler.GrouperActionHandler.moveGroupedItem(StructureRow item,
StructureRow from,
StructureRow to,
StructureGenerator.HandlingContext context) |
void |
ActionHandler.InserterActionHandler.moveRow(StructureRow row,
StructurePosition to,
StructureGenerator.HandlingContext context) |
void |
ActionHandler.InserterActionHandler.removeRow(StructureRow row,
StructureGenerator.HandlingContext context) |
void |
ActionHandler.ExtenderActionHandler.reorderExtension(StructureRow extension,
StructurePosition from,
StructurePosition to,
StructureGenerator.HandlingContext context) |
void |
ActionHandler.GrouperActionHandler.reorderGroup(StructureRow group,
StructurePosition from,
StructurePosition to,
StructureGenerator.HandlingContext context) |
void |
ActionHandler.SorterActionHandler.reorderItem(StructureRow row,
StructurePosition from,
StructurePosition to,
StructureGenerator.HandlingContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
IssueApplicabilityChecker.isApplicableTo(StructureRow row) |
void |
RecordingAttributeUpdateChecker.record(StructureRow row) |
void |
BasicItemChangeFilter.recordItem(StructureRow row) |
void |
RecordingItemChangeFilter.recordItem(StructureRow row) |
void |
RecordingItemChangeFilter.EmptyFilter.recordItem(StructureRow row) |
Modifier and Type | Method and Description |
---|---|
StructureRow |
CreatableItemType.createDummyRow(long rowId,
long semantics,
Map<String,Object> values,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
StructureRow |
GenericItemType.createDummyRow(long rowId,
long semantics,
Map<String,Object> values,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
StructureRow |
QueryContext.row(int idx)
Returns a row object at the specified index in the forest being searched.
|
Modifier and Type | Class and Description |
---|---|
class |
DummyRow |
class |
ShallowRow |
class |
SimpleRow |
static class |
StructureRow.ZeroRow |
class |
SuperRootRow
The super-root is a fictional row that is present in every forest as the parent of all root rows.
|
class |
TransientRow |
Modifier and Type | Field and Description |
---|---|
static StructureRow |
StructureRow.ROW_ZERO |
Modifier and Type | Method and Description |
---|---|
static StructureRow |
SimpleRow.create(long rowId,
ItemIdentity itemId,
long semantics,
ItemResolver resolver) |
static StructureRow |
SimpleRow.create(long rowId,
ItemIdentity itemId,
long semantics,
ItemResolver resolver,
boolean skipAccessCheck) |
static StructureRow |
SimpleRow.create(long rowId,
ItemIdentity itemId,
long semantics,
ItemResolver resolver,
ItemAccessMode accessMode) |
static StructureRow |
TransientRow.getDelegate(StructureRow row) |
default StructureRow |
RowRetriever.getRow(long rowId)
Retrieves information about a structure row by its ID.
|
StructureRow |
RowRetriever.getRow(long rowId,
ItemAccessMode access)
Retrieves
StructureRow with additional information about how the calling code is going to use
method getItem(java.lang.Class<I>) . |
static StructureRow |
StructureRows.makeShallow(StructureRow row) |
static StructureRow |
StructureRows.makeUnchecked(StructureRow row) |
static StructureRow |
TransientRow.replaceDelegate(StructureRow row,
Function<StructureRow,StructureRow> replacer)
Replaces delegate in the transient row chain.
|
static StructureRow |
SimpleRow.tryMakeUnchecked(StructureRow r) |
Modifier and Type | Method and Description |
---|---|
static long |
TransientRow.getCreatorId(StructureRow row) |
static StructureRow |
TransientRow.getDelegate(StructureRow row) |
static long |
TransientRow.getOriginalId(StructureRow row) |
static boolean |
StructureRows.isAutomation(StructureRow row) |
static boolean |
StructureRows.isEffector(StructureRow row) |
static boolean |
StructureRows.isGenerator(StructureRow row) |
static boolean |
StructureRows.isItemType(StructureRow row,
String itemType) |
static boolean |
StructureRows.isItemVisibleForSure(StructureRow row) |
static boolean |
StructureRows.isLoopMarker(StructureRow row) |
static boolean |
StructureRows.isSuperRoot(StructureRow row) |
static StructureRow |
StructureRows.makeShallow(StructureRow row) |
static StructureRow |
StructureRows.makeUnchecked(StructureRow row) |
static StructureRow |
TransientRow.replaceDelegate(StructureRow row,
Function<StructureRow,StructureRow> replacer)
Replaces delegate in the transient row chain.
|
static StructureRow |
SimpleRow.tryMakeUnchecked(StructureRow r) |
Modifier and Type | Method and Description |
---|---|
default <T> T |
RowRetriever.reduceOverRows(LongIterable rows,
T startingValue,
BiFunction<StructureRow,T,T> accumulator)
Performs a reduction over a collection of rows, identified by their IDs.
|
static StructureRow |
TransientRow.replaceDelegate(StructureRow row,
Function<StructureRow,StructureRow> replacer)
Replaces delegate in the transient row chain.
|
static StructureRow |
TransientRow.replaceDelegate(StructureRow row,
Function<StructureRow,StructureRow> replacer)
Replaces delegate in the transient row chain.
|
default void |
RowRetriever.scanAllExistingRows(LongIterable rows,
boolean sorted,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs with a normal access mode and ignores any missing rows. |
default void |
RowRetriever.scanAllExistingRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs and ignores any missing rows. |
default void |
RowRetriever.scanAllExistingRows(LongIterable rows,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs with a normal access mode, ignores any missing rows,
and assumes that the row ID stream may be not sorted. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
boolean sorted,
LongCollector missingCollector,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs with a normal access mode. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs, uses normal access mode, assumes that
row ID stream may be not sorted, and does not provide a missing collector. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
LongCollector missingCollector,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs, uses normal access mode, and assumes that
row ID stream may be not sorted. |
default void |
RowRetriever.scanRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Predicate<StructureRow> iteratee)
Loads multiple rows by their IDs and calls
iteratee with a StructureRow for each row ID in the input. |
default void |
RowRetriever.scanRows(LongIterable rows,
boolean sorted,
LongCollector missingCollector,
Predicate<StructureRow> iteratee)
A convenience method that calls
RowRetriever.scanRows(LongIterable, boolean, ItemAccessMode, LongCollector, Predicate) with
the normal access mode. |
default void |
RowRetriever.scanRows(LongIterable rows,
LongCollector missingCollector,
Predicate<StructureRow> iteratee)
A convenience method that calls
RowRetriever.scanRows(LongIterable, boolean, ItemAccessMode, LongCollector, Predicate) with
the normal access mode, and when the rows stream is not guaranteed to be sorted. |
default void |
RowRetriever.scanRows(LongIterable rows,
Predicate<StructureRow> iteratee)
A convenience method that calls
RowRetriever.scanRows(LongIterable, boolean, ItemAccessMode, LongCollector, Predicate) with
the normal access mode, when the rows stream is not guaranteed to be sorted, and without a missing row collector. |
Constructor and Description |
---|
TransientRow(StructureRow delegate,
long creatorId,
long originalId) |
Modifier and Type | Method and Description |
---|---|
static long |
AbstractSynchronizer.getIssueIdByRow(StructureRow structureRow) |
Modifier and Type | Method and Description |
---|---|
static String |
StructureUtil.getDebugRowString(StructureRow row) |
static ItemDisplayable |
StructureUtil.getItemDisplayable(StructureRow row,
StructureAttributeService attributeService) |
Copyright © 2024 Tempo Software. All Rights Reserved.