Uses of Class
com.almworks.jira.structure.api.forest.ForestSpec
Packages that use ForestSpec
Package
Description
This package provides Attribute API.
-
Uses of ForestSpec in com.almworks.jira.structure.api.attribute
Methods in com.almworks.jira.structure.api.attribute with parameters of type ForestSpecModifier and TypeMethodDescriptionStructureAttributeService.getAttributeValues(ForestSpec spec, boolean strictSpec, LongList rows, Collection<? extends AttributeSpec<?>> attributes, Consumer<ValuesMeta> metaConsumer) Loads and returns attribute values asRowValues.default RowValuesStructureAttributeService.getAttributeValues(ForestSpec spec, LongList rows, Collection<? extends AttributeSpec<?>> attributes) Retrieves values for the given sets of attributes and rows.StructureAttributeService.getAttributeValuesWithUpdateChecker(ForestSpec spec, LongList rows, Collection<? extends AttributeSpec<?>> attributes) Loads the values for the given rows and attributes, plus provides an instance ofAttributeUpdateChecker, which can be used to detect that the values may have changed and another loading is needed.StructureAttributeService.getAttributeValuesWithUpdateChecker(ItemForest forest, LongList rows, Collection<? extends AttributeSpec<?>> attributes, ForestSpec baseForestSpec) Loads the values for the given rows and attributes, plus provides an instance ofAttributeUpdateChecker, which can be used to detect that the values may have changed and another loading is needed.StructureAttributeService.getConsistentAttributeValues(ForestSpec spec, boolean strictSpec, Function<ItemForest, LongList> rowsSupplier, Collection<? extends AttributeSpec<?>> attributes) Performs consistent loading of values for the given rows and attributes.default ConsistentRowValuesStructureAttributeService.getConsistentAttributeValues(ForestSpec spec, Function<ItemForest, LongList> rowsSupplier, Collection<? extends AttributeSpec<?>> attributes) Performs consistent loading of values for the given rows and attributes.booleanStructureAttributeService.hasUpdate(ForestSpec spec, LongList rows, Collection<? extends AttributeSpec<?>> attributes, ValuesMeta loadMeta) This method checks if there may have been updates in the system since some previous loading of the given attributes.voidStructureAttributeService.loadAttributeValues(ForestSpec spec, boolean strictSpec, LongList rows, Collection<? extends AttributeSpec<?>> attributes, AttributeValuesReceiver receiver) This method loads values for the given sets of attributes and rows.default voidStructureAttributeService.loadAttributeValues(ForestSpec spec, LongList rows, Collection<? extends AttributeSpec<?>> attributes, AttributeValuesReceiver receiver) Loads values for the given sets of attributes and rows. -
Uses of ForestSpec in com.almworks.jira.structure.api.attribute.subscription
Methods in com.almworks.jira.structure.api.attribute.subscription that return ForestSpecModifier and TypeMethodDescriptionAttributeSubscription.getForest()Returns the forest spec currently set in this subscription.Methods in com.almworks.jira.structure.api.attribute.subscription with parameters of type ForestSpec -
Uses of ForestSpec in com.almworks.jira.structure.api.effectbatch
Fields in com.almworks.jira.structure.api.effectbatch declared as ForestSpecConstructors in com.almworks.jira.structure.api.effectbatch with parameters of type ForestSpecModifierConstructorDescriptionEffectBatch(ForestSpec spec, DataVersion version, LongIterable movedRows, RowsToReplace redoReplace, RowsToReplace undoReplace, List<EffectPair> effects) -
Uses of ForestSpec in com.almworks.jira.structure.api.effector
Methods in com.almworks.jira.structure.api.effector that return ForestSpecModifier and TypeMethodDescriptionEffectorContext.getForestSpec()Returns the forest spec processed by the current effector invocation. -
Uses of ForestSpec in com.almworks.jira.structure.api.effector.process
Methods in com.almworks.jira.structure.api.effector.process with parameters of type ForestSpecModifier and TypeMethodDescriptionlongEffectorProcessManager.startProcess(String moduleKey, Map<String, Object> parameters, ForestSpec forestSpec, boolean requiresConfirmation) Starts a one-off effector process.voidEffectorProcessManager.validateStartProcess(String moduleKey, Map<String, Object> parameters, ForestSpec forestSpec) Checks whether an effector process can be started, as if by callingEffectorProcessManager.startProcess(String, Map, ForestSpec, boolean), without actually starting it. -
Uses of ForestSpec in com.almworks.jira.structure.api.export
Methods in com.almworks.jira.structure.api.export that return ForestSpecModifier and TypeMethodDescriptionExportRequestContext.getForestSpec()Returns the forest spec being exported. -
Uses of ForestSpec in com.almworks.jira.structure.api.forest
Methods in com.almworks.jira.structure.api.forest that return ForestSpecModifier and TypeMethodDescriptionForestSpec.Builder.build()static ForestSpecConstructsForestSpecthat represents a user's clipboard.static ForestSpecForestSpec.fromRest(RestForestSpec rfs) This method can be used to restore a forest spec from a REST transfer object.ForestSpec.getLastTransformedSpec()For a forest spec with transformations, returns the forest spec without the last used transformation.ForestSpec.getUnsecured()Returns the same forest spec, but withsecuredflag turned off.ForestSpec.getUntransformedSpec()Returns the same forest spec but without transformations.Creates a newForestSpecthat is secured for the specified user.static ForestSpecForestSpec.skeleton(long structureId) ConstructsForestSpecthat represents a structure with no dynamic content.static ForestSpecConstructsForestSpecthat represents a structured query.static ForestSpecForestSpec.structure(long structureId) ConstructsForestSpecthat represents a structure.static ForestSpecForestSpec.structure(long structureId, ApplicationUser user) ConstructsForestSpecthat represents a structure.Creates a transformedForestSpecthat adds a single transformation to the result of the original forest spec.static ForestSpecForestSpec.unsecuredStructure(long structureId) ConstructsForestSpecthat represents a structure.static ForestSpecForestSpec.version(long structureId, int version) ConstructsForestSpecthat represents a historical version of a structure.ForestSpec.withoutTitle()Returns the same forest spec but withouttitleoption.ForestSpec.withTitle()Returns the same forest spec but withtitleoption.Methods in com.almworks.jira.structure.api.forest with parameters of type ForestSpecModifier and TypeMethodDescriptionstatic ForestSpec.BuilderForestSpec.builder(ForestSpec spec) Creates a new build that can be used to adjust a givenForestSpec.ForestService.getDisplayName(ForestSpec spec) Suggests a user-readable name fo the given forest spec.ForestService.getForestSource(ForestSpec spec) Creates a forest source based on the forest spec.ForestSpec.Visitor.visitClipboard(ForestSpec clipboardSpec) ForestSpec.Visitor.visitSecured(ForestSpec securedSpec) ForestSpec.Visitor.visitSQuery(ForestSpec querySpec) ForestSpec.Visitor.visitStructure(ForestSpec structureSpec) ForestSpec.Visitor.visitTransformation(ForestSpec transformSpec) Constructors in com.almworks.jira.structure.api.forest with parameters of type ForestSpecModifierConstructorDescriptionBuilder(ForestSpec spec) Creates a builder and copies all parameters from the given spec. -
Uses of ForestSpec in com.almworks.jira.structure.api.generator
Methods in com.almworks.jira.structure.api.generator that return ForestSpecModifier and TypeMethodDescriptionStructureGenerator.GenerationContext.getForestSpec()Returns the forest spec of the forest being generated.StructureGenerator.GenerationContext.getForestSpecBeingTransformed()