Uses of Class
com.almworks.jira.structure.api.attribute.AttributeValue
Packages that use AttributeValue
Package
Description
This package provides Attribute API.
This package is a part of Structure Attributes SPI.
-
Uses of AttributeValue in com.almworks.jira.structure.api.attribute
Methods in com.almworks.jira.structure.api.attribute that return AttributeValueModifier and TypeMethodDescriptionstatic <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 theAttributeValueloaded for the given key and attribute.LoadedValue.getValue()Returns the loaded attribute value.abstract AttributeValue<T>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>Creates a new instance ofAttributeValuethat has the same value, but a new loader data.Methods in com.almworks.jira.structure.api.attribute with parameters of type AttributeValueModifier and TypeMethodDescriptionstatic <T> LoadedValue<T>LoadedValue.of(AttributeValue<T> attributeValue) Creates an instance ofLoadedValuebased on attribute value. -
Uses of AttributeValue in com.almworks.jira.structure.api.attribute.loader
Methods in com.almworks.jira.structure.api.attribute.loader that return AttributeValueModifier and TypeMethodDescription<V> AttributeValue<V>AttributeLoaderContext.getDependencyAttributeValue(AttributeSpec<V> dependency) Gets the value of dependency attribute for the row being calculated.AggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) Performs aggregate loading.DerivedAttributeLoader.loadValue(DerivedAttributeContext context) Performs the loading.ItemAttributeLoader.loadValue(ItemIdentity itemId, ItemAttributeContext context) The loading function.ScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue, ScanningAttributeContext context) Performs scanning loading.SingleRowAttributeLoader.loadValue(StructureRow row, SingleRowAttributeContext context) The loading function.Methods in com.almworks.jira.structure.api.attribute.loader that return types with arguments of type AttributeValueModifier and TypeMethodDescriptionBiFunction<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.Methods in com.almworks.jira.structure.api.attribute.loader with parameters of type AttributeValueModifier and TypeMethodDescriptionstatic <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.ScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue, ScanningAttributeContext context) Performs scanning loading.Method parameters in com.almworks.jira.structure.api.attribute.loader with type arguments of type AttributeValueModifier and TypeMethodDescriptionAggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) Performs aggregate loading. -
Uses of AttributeValue in com.almworks.jira.structure.api.attribute.loader.basic
Methods in com.almworks.jira.structure.api.attribute.loader.basic that return AttributeValueModifier and TypeMethodDescriptionprotected AttributeValue<T>AbstractScanningLoader.carryPrecedingValueForSkippedRow(AttributeValue<T> precedingValue) static <T> AttributeValue<T>AbstractAggregateLoader.firstChildError(List<AttributeValue<T>> children) Returns the first errorAttributeValuefrom list of children values.protected abstract AttributeValue<A>ItemClassAttributeLoader.getValue(T item, ItemAttributeContext context) AbstractNaiveDistinctAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) AbstractScanningLoader.loadValue(AttributeValue<T> precedingValue, ScanningAttributeContext context) ItemClassAttributeLoader.loadValue(ItemIdentity itemId, ItemAttributeContext context) SimpleDerivedAttributeLoader.loadValue(DerivedAttributeContext context) NumberAccumulator.toValue()Methods in com.almworks.jira.structure.api.attribute.loader.basic that return types with arguments of type AttributeValueModifier and TypeMethodDescriptionBiFunction<StructureRow,PropagateAttributeContext, AttributeValue<T>> InheritedValueLoader.loadChildren(AttributeValue<T> parentValue, PropagateAttributeContext.Parent parentContext) Methods in com.almworks.jira.structure.api.attribute.loader.basic with parameters of type AttributeValueModifier and TypeMethodDescriptionprotected AttributeValue<T>AbstractScanningLoader.carryPrecedingValueForSkippedRow(AttributeValue<T> precedingValue) protected booleanAbstractScanningLoader.isRowSkipped(AttributeValue<T> precedingValue, ScanningAttributeContext context) BiFunction<StructureRow,PropagateAttributeContext, AttributeValue<T>> InheritedValueLoader.loadChildren(AttributeValue<T> parentValue, PropagateAttributeContext.Parent parentContext) AbstractScanningLoader.loadValue(AttributeValue<T> precedingValue, ScanningAttributeContext context) Method parameters in com.almworks.jira.structure.api.attribute.loader.basic with type arguments of type AttributeValueModifier and TypeMethodDescriptionstatic <T> AttributeValue<T>AbstractAggregateLoader.firstChildError(List<AttributeValue<T>> children) Returns the first errorAttributeValuefrom list of children values.AbstractNaiveDistinctAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) -
Uses of AttributeValue in com.almworks.jira.structure.api.attribute.loader.builder
Methods in com.almworks.jira.structure.api.attribute.loader.builder that return AttributeValueModifier and TypeMethodDescriptionBaseDerivedAttributeLoader.loadValue(DerivedAttributeContext context) BaseItemAttributeLoader.loadValue(ItemIdentity itemId, ItemAttributeContext context) BaseSingleRowAttributeLoader.loadValue(StructureRow row, SingleRowAttributeContext context) BiDerivedAttributeLoaderBuilder.BuiltBiDerivedLoader.loadValue(DerivedAttributeContext context) Method parameters in com.almworks.jira.structure.api.attribute.loader.builder with type arguments of type AttributeValueModifier and TypeMethodDescriptionDerivedAttributeLoaderBuilder.valueFunctionAV(Function<DerivedAttributeContext, AttributeValue<T>> valueFunction) DerivedAttributeLoaderBuilder.valueFunctionAV(Supplier<AttributeValue<T>> valueFunction) ItemAttributeLoaderBuilder.valueFunctionAV(BiFunction<? super I, ItemAttributeContext, AttributeValue<T>> itemLoadingFunction) ItemAttributeLoaderBuilder.valueFunctionAV(Function<? super I, AttributeValue<T>> itemFunction) SingleRowAttributeLoaderBuilder.valueFunctionAV(BiFunction<StructureRow, SingleRowAttributeContext, AttributeValue<T>> valueFunction) SingleRowAttributeLoaderBuilder.valueFunctionAV(Function<StructureRow, AttributeValue<T>> valueFunction) ItemAttributeLoaderBuilder.valueFunctionIIAV(BiFunction<ItemIdentity, ItemAttributeContext, AttributeValue<T>> loadingFunction) ItemAttributeLoaderBuilder.valueFunctionIIAV(Function<ItemIdentity, AttributeValue<T>> valueFunction) Constructor parameters in com.almworks.jira.structure.api.attribute.loader.builder with type arguments of type AttributeValueModifierConstructorDescriptionBaseDerivedAttributeLoader(AttributeSpec<T> attributeSpec, Set<AttributeSpec<?>> dependencies, Set<AttributeContextDependency> contextDependencies, AttributeCachingStrategy cachingStrategy, TrailItemSet globalTrail, Function<DerivedAttributeContext, AttributeValue<T>> loadingFunction) BaseItemAttributeLoader(AttributeSpec<T> attributeSpec, Set<AttributeSpec<?>> dependencies, Set<AttributeContextDependency> contextDependencies, AttributeCachingStrategy cachingStrategy, TrailItemSet globalTrail, Predicate<String> itemTypeSupportedPredicate, BiFunction<ItemIdentity, ItemAttributeContext, AttributeValue<T>> attributeFunction, BiConsumer<Collection<ItemIdentity>, AttributeContext> preloadFunction) BaseSingleRowAttributeLoader(AttributeSpec<T> attributeSpec, Set<AttributeSpec<?>> dependencies, Set<AttributeContextDependency> contextDependencies, AttributeCachingStrategy cachingStrategy, TrailItemSet globalTrail, BiFunction<StructureRow, SingleRowAttributeContext, AttributeValue<T>> loadingFunction, RowPreloadFunction preloadFunction, boolean wholeForestDependent) -
Uses of AttributeValue in com.almworks.jira.structure.api.attribute.loader.delegate
Methods in com.almworks.jira.structure.api.attribute.loader.delegate that return AttributeValueModifier and TypeMethodDescriptionDelegatingAggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) DelegatingDerivedAttributeLoader.loadValue(DerivedAttributeContext context) DelegatingItemAttributeLoader.loadValue(ItemIdentity itemId, ItemAttributeContext context) DelegatingScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue, ScanningAttributeContext context) Methods in com.almworks.jira.structure.api.attribute.loader.delegate that return types with arguments of type AttributeValueModifier and TypeMethodDescriptionBiFunction<StructureRow,PropagateAttributeContext, AttributeValue<T>> DelegatingPropagateAttributeLoader.loadChildren(AttributeValue<T> parentValue, PropagateAttributeContext.Parent context) Methods in com.almworks.jira.structure.api.attribute.loader.delegate with parameters of type AttributeValueModifier and TypeMethodDescriptionBiFunction<StructureRow,PropagateAttributeContext, AttributeValue<T>> DelegatingPropagateAttributeLoader.loadChildren(AttributeValue<T> parentValue, PropagateAttributeContext.Parent context) DelegatingScanningAttributeLoader.loadValue(AttributeValue<T> precedingValue, ScanningAttributeContext context) Method parameters in com.almworks.jira.structure.api.attribute.loader.delegate with type arguments of type AttributeValueModifier and TypeMethodDescriptionDelegatingAggregateAttributeLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) -
Uses of AttributeValue in com.almworks.jira.structure.api.attribute.loader.reduce
Methods in com.almworks.jira.structure.api.attribute.loader.reduce that return AttributeValueModifier and TypeMethodDescriptionReductionStrategy.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 specifiedValueReducer.ReductionStrategy.ChildrenReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.LeavesReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.StrictReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) 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) ReducingAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context) Method parameters in com.almworks.jira.structure.api.attribute.loader.reduce with type arguments of type AttributeValueModifier and TypeMethodDescriptionReductionStrategy.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 specifiedValueReducer.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 specifiedValueReducer.ReductionStrategy.ChildrenReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.ChildrenReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.LeavesReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.LeavesReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.StrictReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.StrictReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.SubtreeReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReductionStrategy.SubtreeReductionStrategy.apply(Supplier<AttributeValue<T>> selfSupplier, List<AttributeValue<T>> children, ValueReducer<T> reducer) ReducingAggregateLoader.loadValue(List<AttributeValue<T>> childrenValues, AggregateAttributeContext context)