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.attribute.loader | |
com.almworks.jira.structure.api.attribute.loader.basic | |
com.almworks.jira.structure.api.attribute.loader.distinct | |
com.almworks.jira.structure.api.attribute.loader.reduce |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
ValueFormat.cast(AttributeValue<?> value)
Performs type checking and cast of an arbitrary value to the given Java type.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
ValueFormat.cast(AttributeValue<?> value)
Performs type checking and cast of an arbitrary value to the given Java type.
|
Modifier and Type | Method and Description |
---|---|
static TrailItemSet |
TrailItemSet.fromValues(Collection<? extends AttributeValue<?>> values)
Extracts trail item sets from a collection of attribute values and merges them into one.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AttributeValue<LoaderValue> |
CompositeAttributeLoader.apply(Loader loader,
Params additionalParams,
LoaderContext context) |
<X> AttributeValue<X> |
AttributeValue.cast(AttributeSpec<X> spec) |
static <T> AttributeValue<T> |
AttributeValue.derived(T value,
AttributeValue<?> dependentResult) |
static <T> AttributeValue<T> |
AttributeValue.error() |
static <T> AttributeValue<T> |
AbstractAggregateLoader.firstChildError(List<AttributeValue<T>> children)
Returns the first error
AttributeValue from list of children values. |
AttributeValue<T> |
AttributeLoader.PropagateContext.getAttributeValue() |
<V> AttributeValue<V> |
AttributeLoader.Context.getAttributeValue(AttributeSpec<V> dependency) |
AttributeValue<T> |
AttributeLoader.AggregateContext.getChildAttributeValue(StructureRow child) |
<V> AttributeValue<V> |
AttributeLoader.PropagateContext.getChildAttributeValue(StructureRow child,
AttributeSpec<V> dependency) |
AttributeValue<A> |
ItemClassAttributeLoader.getItemValue(StructureRow row,
AttributeLoader.Context context) |
protected abstract AttributeValue<A> |
ItemTypeAttributeLoader.getItemValue(StructureRow item,
AttributeLoader.Context context) |
protected abstract AttributeValue<A> |
ItemClassAttributeLoader.getValue(T item,
AttributeLoader.Context context) |
AttributeValue<T> |
AttributeLoader.Aggregate.loadValue(List<AttributeValue<T>> childrenValues,
AttributeLoader.AggregateContext<T> context) |
AttributeValue<T> |
AbstractDistinctAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AttributeLoader.AggregateContext<T> context) |
protected AttributeValue<LoaderValue> |
CompositeAttributeLoader.loadValue(LoaderContext context,
Params additionalParams) |
AttributeValue<T> |
AttributeLoader.ForestIndependent.loadValue(StructureRow row,
AttributeLoader.Context context) |
AttributeValue<T> |
DerivedAttributeLoader.loadValue(StructureRow row,
AttributeLoader.Context context) |
AttributeValue<A> |
ItemTypeAttributeLoader.loadValue(StructureRow row,
AttributeLoader.Context context) |
static <T> AttributeValue<T> |
AttributeValue.of(T value) |
static <T> AttributeValue<T> |
AttributeValue.ofNullable(T value) |
static <T> AttributeValue<T> |
AttributeValue.undefined() |
AttributeValue<T> |
AttributeValue.withData(Object loaderData) |
AttributeValue<T> |
AttributeValue.withTrail(ItemIdentity trailItem) |
AttributeValue<T> |
AttributeValue.withTrail(TrailItemSet trail) |
Modifier and Type | Method and Description |
---|---|
List<AttributeValue<T>> |
AttributeLoader.Propagate.loadChildrenValues(AttributeValue<T> rowValue,
List<StructureRow> children,
AttributeLoader.PropagateContext<T> context) |
Modifier and Type | Method and Description |
---|---|
static <T> AttributeValue<T> |
AttributeValue.derived(T value,
AttributeValue<?> dependentResult) |
List<AttributeValue<T>> |
AttributeLoader.Propagate.loadChildrenValues(AttributeValue<T> rowValue,
List<StructureRow> children,
AttributeLoader.PropagateContext<T> 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> |
AttributeLoader.Aggregate.loadValue(List<AttributeValue<T>> childrenValues,
AttributeLoader.AggregateContext<T> context) |
AttributeValue<T> |
AbstractDistinctAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AttributeLoader.AggregateContext<T> context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<A> |
ItemTypeConstantLoader.getItemValue(StructureRow row,
AttributeLoader.Context context) |
protected AttributeValue<R> |
LaAttributeLoader.getValue(T item,
AttributeLoader.Context context) |
AttributeValue<T> |
ConstantValueLoader.loadValue(StructureRow row,
AttributeLoader.Context context) |
AttributeValue<Number> |
NumberAccumulator.toValue() |
Modifier and Type | Method and Description |
---|---|
List<AttributeValue<T>> |
InheritedValueLoader.loadChildrenValues(AttributeValue<T> rowValue,
List<StructureRow> children,
AttributeLoader.PropagateContext<T> context) |
Modifier and Type | Method and Description |
---|---|
List<AttributeValue<T>> |
InheritedValueLoader.loadChildrenValues(AttributeValue<T> rowValue,
List<StructureRow> children,
AttributeLoader.PropagateContext<T> context) |
Modifier and Type | Method and Description |
---|---|
protected AttributeValue<Long> |
DistinctLongSumLoader.finalize(Long value) |
protected AttributeValue<Number> |
DistinctNumberSumLoader.finalize(NumberAccumulator value) |
protected abstract AttributeValue<T> |
AbstractDistinctSumLoader.finalize(X value) |
AttributeValue<T> |
AbstractDistinctSumLoader.loadValue(StructureRow row,
AttributeLoader.Context context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
ReductionStrategy.apply(java.util.function.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(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.LeavesReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.StrictReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.SubtreeReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
protected AttributeValue<T> |
SecureSingleDependencyReducingAggregateLoader.getSelfValue(AttributeLoader.AggregateContext<T> context) |
protected abstract AttributeValue<T> |
ReducingAggregateLoader.getSelfValue(AttributeLoader.AggregateContext<T> context) |
protected AttributeValue<T> |
SingleDependencyReducingAggregateLoader.getSelfValue(AttributeLoader.AggregateContext<T> context) |
AttributeValue<T> |
ReducingAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AttributeLoader.AggregateContext<T> context) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<T> |
ReductionStrategy.apply(java.util.function.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(java.util.function.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(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.ChildrenReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.LeavesReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.LeavesReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.StrictReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.StrictReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.SubtreeReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReductionStrategy.SubtreeReductionStrategy.apply(java.util.function.Supplier<AttributeValue<T>> selfSupplier,
List<AttributeValue<T>> children,
ValueReducer<T> reducer) |
AttributeValue<T> |
ReducingAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues,
AttributeLoader.AggregateContext<T> context) |
Copyright © 2019 ALM Works. All Rights Reserved.