Package com.almworks.jira.structure.api.query
package com.almworks.jira.structure.api.query
-
ClassDescriptionThis interface represents the environment of the
StructureQuerybeing executed.A structure query is a condition on rows and their relationships in aForest, such as rows that are children of issues satisfying JQL 'type = Epic' or rows at the top level of the forest.StructureQueryBuilder<B extends StructureQueryBuilder<B>>StructureQueryBuilderallows you to build astructure querywith a fluent interface.This class allows to specify a basic constraint, either on its own, or as the last step of building arelational constraint.Object of this class contains the state of the builder; you can finish building the query by callingStructureQueryBuilder.Head.end(), or add more constraints, connecting them withStructureQueryBuilder.andorStructureQueryBuilder.or.StructureQueryBuilder.OpStep<B extends StructureQueryBuilder<B>>This class lets you addoperatorto therelational constraintbeing built, or to combine the already added relation with another one viaStructureQueryBuilder.OpStep.or().This class allows you to continue buildingrelational constraintby adding anotherrelation.StructureQueryBuilder.StartStep<B extends StructureQueryBuilder<B>>This class allows you to either build abasic constraintor start building a relational constraint.StructureQueryBuilder.StartStepHelper<B extends StructureQueryBuilder<B>>StructureQueryBuilder.Sub<B extends StructureQueryBuilder<B>>Object of this class contains the state of the builder inside the currently open parentheses; you can finish building the query in the parentheses and return to the main builder by callingStructureQueryBuilder.Sub.endsub(), or add more constraints inside the parentheses, connecting them withStructureQueryBuilder.andorStructureQueryBuilder.or.Factory for creating new instances ofStructureQueryBuilder.This is an extension point in the S-JQL, through which you can add custom basic constraints on forest rows toStructureQuery.Represents the consumer ofStructureQueryConstraint.Sequencevalues - i.e., the consumer of matching indices.A base implementation for a constraint that looks at a bunch of rows at a time.A default implementation of an empty sequence.Allows to implement a sequence of numbers in a generator-like fashion.A base implementation for a simple constraint that looks at one row at a time.Utility methods forStructureQueryConstraintimplementations.Parses astructure queryexpressed in the Structured JQL language.