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.export | |
com.almworks.jira.structure.api.generator.util | |
com.almworks.jira.structure.api.rest | |
com.almworks.jira.structure.api.util |
Modifier and Type | Field and Description |
---|---|
static AttributeSpec<com.atlassian.jira.user.ApplicationUser> |
CoreAttributeSpecs.ASSIGNEE |
static AttributeSpec<String> |
CoreAttributeSpecs.DESCRIPTION |
static AttributeSpec<String> |
CoreAttributeSpecs.DISPLAYABLE_TEXT
One-line text that can represent this item, for example, in a list.
|
static AttributeSpec<Boolean> |
CoreAttributeSpecs.DONE |
static AttributeSpec<Boolean> |
CoreAttributeSpecs.EDITABLE |
static AttributeSpec<String> |
CoreAttributeSpecs.ID |
static AttributeSpec<com.atlassian.jira.issue.issuetype.IssueType> |
CoreAttributeSpecs.ISSUETYPE |
static AttributeSpec<String> |
CoreAttributeSpecs.ISSUETYPE_ID |
static AttributeSpec<String> |
CoreAttributeSpecs.KEY |
static AttributeSpec<Long> |
CoreAttributeSpecs.ORIGINAL_ESTIMATE |
static AttributeSpec<com.atlassian.jira.issue.priority.Priority> |
CoreAttributeSpecs.PRIORITY |
static AttributeSpec<com.atlassian.jira.project.Project> |
CoreAttributeSpecs.PROJECT |
static AttributeSpec<String> |
CoreAttributeSpecs.PROJECT_ID |
static AttributeSpec<Long> |
CoreAttributeSpecs.REMAINING_ESTIMATE |
static AttributeSpec<com.atlassian.jira.user.ApplicationUser> |
CoreAttributeSpecs.REPORTER |
static AttributeSpec<com.atlassian.jira.issue.status.Status> |
CoreAttributeSpecs.STATUS |
static AttributeSpec<String> |
CoreAttributeSpecs.STATUS_ID |
static AttributeSpec<String> |
CoreAttributeSpecs.SUMMARY |
static AttributeSpec<Long> |
CoreAttributeSpecs.TIME_SPENT |
static AttributeSpec<Long> |
CoreAttributeSpecs.TOTAL_ORIGINAL_ESTIMATE |
static AttributeSpec<Long> |
CoreAttributeSpecs.TOTAL_REMAINING_ESTIMATE |
static AttributeSpec<Long> |
CoreAttributeSpecs.TOTAL_TIME_SPENT |
static AttributeSpec<String> |
CoreAttributeSpecs.URL |
static AttributeSpec<Number> |
CoreAttributeSpecs.VOTES |
static AttributeSpec<Number> |
CoreAttributeSpecs.WATCHES |
Modifier and Type | Method and Description |
---|---|
<V> AttributeSpec<V> |
AttributeSpec.as(ValueFormat<V> format)
Returns an attribute spec with the same ID and parameters, but with the given
ValueFormat . |
AttributeSpec<T> |
AttributeSpecBuilder.build() |
AttributeSpec<T> |
AttributeSpecBuilder.ParamsBuilder.build() |
AttributeSpec<T> |
ValueFormat.cast(AttributeSpec<?> spec)
Performs type checking and cast of an arbitrary attribute specification to the given format.
|
AttributeSpec<T> |
AttributeSpec.noParams()
Returns a new attribute spec with all parameters removed.
|
AttributeSpec<T> |
AttributeSpec.replaceParams(Map<String,Object> newParams)
Returns a new attribute spec with parameters replaced with a new map.
|
AttributeSpec<T> |
AttributeSpec.withParam(String name,
Object value)
Returns a new attribute spec with added parameter.
|
Modifier and Type | Method and Description |
---|---|
AttributeSpec<T> |
ValueFormat.cast(AttributeSpec<?> spec)
Performs type checking and cast of an arbitrary attribute specification to the given format.
|
static <T> AttributeSpecBuilder<T> |
AttributeSpecBuilder.create(AttributeSpec<T> sample) |
<T> T |
VersionedRowValues.EmptyVersionedRowValues.get(Long row,
AttributeSpec<T> attribute) |
<T> T |
RowValues.get(Long row,
AttributeSpec<T> attribute)
Returns a value for the given row and attribute.
|
AttributeTrail |
VersionedRowValues.EmptyVersionedRowValues.getTrail(AttributeSpec<?> attribute) |
AttributeTrail |
RowValues.getTrail(AttributeSpec<?> attribute)
Returns an object that can be used to implement correct value invalidation, in case the value is cached.
|
AttributeSpecBuilder.ParamsBuilder<P> |
AttributeSpecBuilder.ParamsBuilder.setAttribute(AttributeSpec<?> value) |
AttributeSpecBuilder.ParamsBuilder<P> |
AttributeSpecBuilder.ParamsBuilder.setAttribute(String key,
AttributeSpec<?> value) |
Modifier and Type | Method and Description |
---|---|
VersionedRowValues |
StructureAttributeService.getAttributeValues(Forest forest,
com.almworks.integers.LongList rows,
Collection<? extends AttributeSpec<?>> attributes)
Returns attribute values for the given matrix of Rows and Attributes.
|
VersionedRowValues |
StructureAttributeService.getAttributeValues(ForestSpec spec,
com.almworks.integers.LongList rows,
Collection<? extends AttributeSpec<?>> attributes)
Returns attribute values for the given matrix of Rows and Attributes.
|
VersionedRowValues |
StructureAttributeService.getAttributeValues(ItemForest forest,
com.almworks.integers.LongList rows,
Collection<? extends AttributeSpec<?>> attributes)
Returns attribute values for the given matrix of Rows and Attributes.
|
Modifier and Type | Field and Description |
---|---|
protected AttributeSpec<? extends D> |
DerivedAttributeLoader.myDependency |
protected AttributeSpec<A> |
AbstractAttributeLoader.mySpec |
Modifier and Type | Method and Description |
---|---|
AttributeSpec<T> |
AttributeLoader.getAttributeSpec() |
AttributeSpec<A> |
AbstractAttributeLoader.getAttributeSpec() |
Modifier and Type | Method and Description |
---|---|
Set<? extends AttributeSpec<?>> |
DerivedAttributeLoader.getAttributeDependencies() |
Set<? extends AttributeSpec<?>> |
CompositeAttributeLoader.getAttributeDependencies() |
Set<? extends AttributeSpec<?>> |
AttributeLoader.getAttributeDependencies() |
Set<? extends AttributeSpec<?>> |
AbstractForestIndependentAttributeLoader.getAttributeDependencies() |
Modifier and Type | Method and Description |
---|---|
<X> AttributeValue<X> |
AttributeValue.cast(AttributeSpec<X> spec) |
static <T> AttributeLoader<T> |
CompositeAttributeLoader.create(AttributeSpec<T> spec,
List<AttributeLoader<T>> loaders) |
AttributeLoader<?> |
SimpleAttributeProvider.createAttributeLoader(AttributeSpec<?> attributeSpec,
AttributeContext context) |
AttributeLoader<?> |
AttributeLoaderProvider.createAttributeLoader(AttributeSpec<?> attributeSpec,
AttributeContext context) |
<V> AttributeValue<V> |
AttributeLoader.Context.getAttributeValue(AttributeSpec<V> dependency) |
<V> AttributeValue<V> |
AttributeLoader.PropagateContext.getChildAttributeValue(StructureRow child,
AttributeSpec<V> dependency) |
<V> V |
AttributeLoader.PropagateContext.getChildValue(StructureRow child,
AttributeSpec<V> dependency) |
<V> V |
AttributeLoader.Context.getValue(AttributeSpec<V> dependency) |
static AttributeCachingStrategy |
AttributeCachingStrategy.guessCachingStrategy(AttributeSpec<?> spec)
Guessing if the value is cacheable based on the value format.
|
static <T> AttributeLoader<T> |
DerivedAttributeLoader.idLoader(AttributeSpec<T> spec,
AttributeSpec<T> dependency) |
static <T> AttributeLoader<T> |
DerivedAttributeLoader.idLoader(AttributeSpec<T> spec,
AttributeSpec<T> dependency) |
protected <T> void |
SimpleAttributeProvider.registerCompositeLoader(AttributeSpec<T> spec,
AttributeLoader<T>... loaders) |
Constructor and Description |
---|
AbstractAggregateLoader(AttributeSpec<T> spec) |
AbstractAttributeLoader(AttributeSpec<A> spec) |
AbstractDistinctAggregateLoader(AttributeSpec<T> spec) |
AbstractForestIndependentAttributeLoader(AttributeSpec<T> spec) |
AbstractPropagateLoader(AttributeSpec<T> spec) |
DerivedAttributeLoader(AttributeSpec<T> spec,
AttributeSpec<? extends D> dependency) |
DerivedAttributeLoader(AttributeSpec<T> spec,
AttributeSpec<? extends D> dependency) |
IssueAttributeLoader(AttributeSpec<T> spec) |
ItemClassAttributeLoader(AttributeSpec<A> spec,
Class<T> itemClass,
String... itemTypes) |
ItemTypeAttributeLoader(AttributeSpec<A> spec,
String... itemTypes) |
Modifier and Type | Method and Description |
---|---|
Set<? extends AttributeSpec<?>> |
NumberSumLoader.getAttributeDependencies() |
Set<? extends AttributeSpec<?>> |
LongSumLoader.getAttributeDependencies() |
Set<? extends AttributeSpec<?>> |
InheritedValueLoader.getAttributeDependencies() |
Modifier and Type | Field and Description |
---|---|
static AttributeSpec<Map<ItemIdentity,Integer>> |
DistinctAttributes.NON_UNIQUE_ITEMS_SPEC |
Modifier and Type | Method and Description |
---|---|
Set<? extends AttributeSpec<?>> |
AbstractDistinctSumLoader.getAttributeDependencies() |
Constructor and Description |
---|
AbstractDistinctSumLoader(AttributeSpec<T> spec,
AttributeSpec<T> nonDistinctSpec,
AttributeSpec<E> dependentAttribute) |
AbstractDistinctSumLoader(AttributeSpec<T> spec,
AttributeSpec<T> nonDistinctSpec,
AttributeSpec<E> dependentAttribute) |
AbstractDistinctSumLoader(AttributeSpec<T> spec,
AttributeSpec<T> nonDistinctSpec,
AttributeSpec<E> dependentAttribute) |
DistinctLongSumLoader(AttributeSpec<Long> spec,
AttributeSpec<Long> dependentAttribute) |
DistinctLongSumLoader(AttributeSpec<Long> spec,
AttributeSpec<Long> dependentAttribute) |
DistinctNumberSumLoader(AttributeSpec<Number> spec,
AttributeSpec<Number> dependentAttribute) |
DistinctNumberSumLoader(AttributeSpec<Number> spec,
AttributeSpec<Number> dependentAttribute) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ExportRow.get(AttributeSpec<T> attribute)
Gets a value of an attribute for this row.
|
void |
ExportRequestContext.requireAttribute(AttributeSpec<?> attribute)
Require an
Aggregate to be calculated for this request. |
Modifier and Type | Method and Description |
---|---|
static VersionedRowValues |
GenerationUtil.getValuesFromSubjectForest(StructureGenerator.GenerationContext context,
AttributeSpec<?> spec,
com.almworks.integers.LongList rows,
StructureAttributeService attributeService) |
Modifier and Type | Method and Description |
---|---|
static VersionedRowValues |
GenerationUtil.getValuesFromSubjectForest(StructureGenerator.GenerationContext context,
Collection<? extends AttributeSpec<?>> specs,
com.almworks.integers.LongList rows,
StructureAttributeService attributeService) |
Modifier and Type | Method and Description |
---|---|
static RestAttributeSpec |
RestAttributeSpec.fromModel(AttributeSpec<?> spec) |
Modifier and Type | Method and Description |
---|---|
<T> AttributeSpec<T> |
SpecParams.getAttributeParameter(String name,
ValueFormat<T> expectedFormat) |
<T> AttributeSpec<T> |
SpecParams.getAttributeParameter(ValueFormat<T> expectedFormat) |
Copyright © 2017 ALM Works. All Rights Reserved.