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.effect | |
com.almworks.jira.structure.api.export | |
com.almworks.jira.structure.api.forest | |
com.almworks.jira.structure.api.generator |
Modifier and Type | Method and Description |
---|---|
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,
ForestSpec baseForestSpec)
This is the same method as
StructureAttributeService.getAttributeValues(ItemForest, LongList, Collection) ,
except that base forest spec, from which the rows may have come, is provided. |
Modifier and Type | Method and Description |
---|---|
ForestSpec |
AttributeContext.getBaseForestSpec()
Returns the base forest spec, for which the attribute is being calculated.
|
Modifier and Type | Field and Description |
---|---|
ForestSpec |
EffectBatch.spec |
Constructor and Description |
---|
EffectBatch(ForestSpec spec,
DataVersion version,
com.almworks.integers.LongIterable movedRows,
RowsToReplace redoReplace,
RowsToReplace undoReplace,
List<EffectPair> effects) |
Modifier and Type | Method and Description |
---|---|
ForestSpec |
ExportRequestContext.getForestSpec()
Returns the forest spec being exported.
|
Modifier and Type | Method and Description |
---|---|
ForestSpec |
ForestSpec.Builder.build() |
static ForestSpec |
ForestSpec.clipboard(String sessionId)
Constructs
ForestSpec that represents a user's clipboard. |
static ForestSpec |
ForestSpec.fromRest(RestForestSpec rfs)
This method can be used to restore a forest spec from a REST transfer object.
|
ForestSpec |
ForestSpec.getLastTransformedSpec()
For a forest spec with transformations, returns the forest spec without the last used transformation.
|
ForestSpec |
ForestSpec.getUnsecured()
Returns the same forest spec, but with
secured flag turned off. |
ForestSpec |
ForestSpec.getUntransformedSpec()
Returns the same forest spec but without transformations.
|
ForestSpec |
ForestSpec.secure(String userKey)
Creates a new
ForestSpec that is secured for the specified user. |
static ForestSpec |
ForestSpec.skeleton(long structureId)
Constructs
ForestSpec that represents a structure with no dynamic content. |
static ForestSpec |
ForestSpec.sQuery(String type,
String query)
Constructs
ForestSpec that represents a structured query. |
static ForestSpec |
ForestSpec.structure(long structureId)
Constructs
ForestSpec that represents a structure. |
static ForestSpec |
ForestSpec.structure(long structureId,
com.atlassian.jira.user.ApplicationUser user)
Constructs
ForestSpec that represents a structure. |
ForestSpec |
ForestSpec.transform(String module,
Map<String,Object> params)
Creates a transformed
ForestSpec that adds a single transformation to the result of the original
forest spec. |
static ForestSpec |
ForestSpec.unsecuredStructure(long structureId)
Constructs
ForestSpec that represents a structure. |
static ForestSpec |
ForestSpec.version(long structureId,
int version)
Constructs
ForestSpec that represents a historical version of a structure. |
ForestSpec |
ForestSpec.withoutTitle()
Returns the same forest spec but without
title option. |
ForestSpec |
ForestSpec.withTitle()
Returns the same forest spec but with
title option. |
Modifier and Type | Method and Description |
---|---|
static ForestSpec.Builder |
ForestSpec.builder(ForestSpec spec)
Creates a new build that can be used to adjust a given
ForestSpec . |
String |
ForestService.getDisplayName(ForestSpec spec)
Suggests a user-readable name fo the given forest spec.
|
ForestSource |
ForestService.getForestSource(ForestSpec spec)
Creates a forest source based on the forest spec.
|
T |
ForestSpec.Visitor.visitClipboard(ForestSpec clipboardSpec) |
T |
ForestSpec.Visitor.visitSecured(ForestSpec securedSpec) |
T |
ForestSpec.Visitor.visitSQuery(ForestSpec querySpec) |
T |
ForestSpec.Visitor.visitStructure(ForestSpec structureSpec) |
T |
ForestSpec.Visitor.visitTransformation(ForestSpec transformSpec) |
Constructor and Description |
---|
Builder(ForestSpec spec)
Creates a builder and copies all parameters from the given spec.
|
Modifier and Type | Method and Description |
---|---|
ForestSpec |
StructureGenerator.GenerationContext.getForestSpec()
Returns the forest spec of the forest being generated.
|
ForestSpec |
StructureGenerator.GenerationContext.getForestSpecBeingTransformed() |
Copyright © 2019 ALM Works. All Rights Reserved.