Package | Description |
---|---|
com.almworks.jira.structure.api.attribute |
This package provides Attribute API.
|
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.attribute.loader.reduce |
Modifier and Type | Method and Description |
---|---|
static <T> AttributeValue<T> |
AttributeValue.absent()
Returns an "absent" undefined value, which is used as a placeholder for a value that is being calculated.
|
<X> AttributeValue<X> |
AttributeValue.cast(AttributeSpec<X> spec)
Transforms the value to a different type.
|
static <T> AttributeValue<T> |
AttributeValue.error()
Returns an "error" undefined value.
|
default <T> AttributeValue<T> |
LoadedValues.getAttributeValue(K key,
AttributeSpec<T> attribute)
Returns the
AttributeValue loaded for the given key and attribute. |
AttributeValue<T> |
LoadedValue.getValue()
Returns the loaded attribute value.
|
abstract AttributeValue<T> |
AttributeValue.ifPresent(Consumer<? super T> consumer)
Supplies the value to the consumer, if the value is defined.
|
static <T> AttributeValue<T> |
AttributeValue.inaccessible()
Returns an "inaccessible" undefined value, which means the row is not accessible to the user and the real value is not available.
|
static <T> AttributeValue<T> |
AttributeValue.of(T value)
Creates an instance for the given value.
|
static <T> AttributeValue<T> |
AttributeValue.ofNullable(T value)
Creates an instance for the given value.
|
static <T> AttributeValue<T> |
AttributeValue.undefined()
Returns an undefined value.
|
abstract AttributeValue<T> |
AttributeValue.withData(Object loaderData)
Creates a new instance of
AttributeValue that has the same value, but a new loader data. |
Modifier and Type | Method and Description |
---|---|
static <T> LoadedValue<T> |
LoadedValue.of(AttributeValue<T> attributeValue)
Creates an instance of
LoadedValue based on attribute value. |
Modifier and Type | Method and Description |
---|---|
<V> AttributeValue<V> |
AttributeLoaderContext.getDependencyAttributeValue(AttributeSpec<V> dependency)
Gets the value of dependency attribute for the row being calculated.
|
AttributeValue<T> |
ScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context)
Performs scanning loading.
|
AttributeValue<T> |
DerivedAttributeLoader.loadValue(DerivedAttributeContext context)
Performs the loading.
|
AttributeValue<T> |
ItemAttributeLoader.loadValue(ItemIdentity itemId,
ItemAttributeContext context)
The loading function.
|
AttributeValue<T> |
AggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context)
Performs aggregate loading.
|
AttributeValue<T> |
SingleRowAttributeLoader.loadValue(StructureRow row,
SingleRowAttributeContext context)
The loading function.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static <T> DerivedAttributeLoaderBuilder<T> |
SharedAttributeLoaders.constantLoader(AttributeSpec<T> spec,
AttributeValue<T> value) |
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.
|
AttributeValue<T> |
ScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context)
Performs scanning loading.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
AggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context)
Performs aggregate loading.
|
Modifier and Type | Method and Description |
---|---|
protected AttributeValue<T> |
AbstractScanningLoader.carryPrecedingValueForSkippedRow(AttributeValue<T> precedingValue) |
static <T> AttributeValue<T> |
AbstractAggregateLoader.firstChildError(List<AttributeValue<T>> children)
Returns the first error
AttributeValue from list of children values. |
protected abstract AttributeValue<A> |
ItemClassAttributeLoader.getValue(T item,
ItemAttributeContext context) |
AttributeValue<T> |
AbstractScanningLoader.loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context) |
AttributeValue<T> |
SimpleDerivedAttributeLoader.loadValue(DerivedAttributeContext context) |
AttributeValue<A> |
ItemClassAttributeLoader.loadValue(ItemIdentity itemId,
ItemAttributeContext context) |
AttributeValue<T> |
AbstractNaiveDistinctAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context) |
AttributeValue<Number> |
NumberAccumulator.toValue() |
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 |
---|---|
protected AttributeValue<T> |
AbstractScanningLoader.carryPrecedingValueForSkippedRow(AttributeValue<T> precedingValue) |
protected boolean |
AbstractScanningLoader.isRowSkipped(AttributeValue<T> precedingValue,
ScanningAttributeContext context) |
BiFunction<StructureRow,PropagateAttributeContext,AttributeValue<T>> |
InheritedValueLoader.loadChildren(AttributeValue<T> parentValue,
PropagateAttributeContext.Parent parentContext) |
AttributeValue<T> |
AbstractScanningLoader.loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
static <T> AttributeValue<T> |
AbstractAggregateLoader.firstChildError(List<AttributeValue<T>> children)
Returns the first error
AttributeValue from list of children values. |
AttributeValue<T> |
AbstractNaiveDistinctAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
BaseDerivedAttributeLoader.loadValue(DerivedAttributeContext context) |
AttributeValue<T> |
BiDerivedAttributeLoaderBuilder.BuiltBiDerivedLoader.loadValue(DerivedAttributeContext context) |
AttributeValue<T> |
BaseItemAttributeLoader.loadValue(ItemIdentity itemId,
ItemAttributeContext context) |
AttributeValue<T> |
BaseSingleRowAttributeLoader.loadValue(StructureRow row,
SingleRowAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
DelegatingScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context) |
AttributeValue<T> |
DelegatingDerivedAttributeLoader.loadValue(DerivedAttributeContext context) |
AttributeValue<T> |
DelegatingItemAttributeLoader.loadValue(ItemIdentity itemId,
ItemAttributeContext context) |
AttributeValue<T> |
DelegatingAggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context) |
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 |
---|---|
BiFunction<StructureRow,PropagateAttributeContext,AttributeValue<T>> |
DelegatingPropagateAttributeLoader.loadChildren(AttributeValue<T> parentValue,
PropagateAttributeContext.Parent context) |
AttributeValue<T> |
DelegatingScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
DelegatingAggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
ReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer)
Reduce value of the current node and children values to the single value using the specified
ValueReducer . |
AttributeValue<T> |
ReductionStrategy.ChildrenReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.LeavesReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.StrictReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.SubtreeReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
protected abstract AttributeValue<T> |
ReducingAggregateLoader.getSelfValue(AggregateAttributeContext context) |
protected AttributeValue<T> |
SingleDependencyReducingAggregateLoader.getSelfValue(AggregateAttributeContext context) |
AttributeValue<T> |
ReducingAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
ReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer)
Reduce value of the current node and children values to the single value using the specified
ValueReducer . |
AttributeValue<T> |
ReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer)
Reduce value of the current node and children values to the single value using the specified
ValueReducer . |
AttributeValue<T> |
ReductionStrategy.ChildrenReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.ChildrenReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.LeavesReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.LeavesReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.StrictReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.StrictReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.SubtreeReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.SubtreeReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReducingAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AggregateAttributeContext context) |
Copyright © 2024 Tempo Software. All Rights Reserved.