Uses of Record Class
io.github.jbastgen.stemma.app.label.LabelIndex.LabelDef
Packages that use LabelIndex.LabelDef
Package
Description
Commit labels: the label definitions and assignments, suggestions from branch names and files, and estimating labels for
many commits at once.
-
Uses of LabelIndex.LabelDef in io.github.jbastgen.stemma.app.label
Methods in io.github.jbastgen.stemma.app.label that return types with arguments of type LabelIndex.LabelDefModifier and TypeMethodDescriptionThe label with this id.LabelService.labels()The labels that exist, in order.The labels of a commit, in the order of the definitions.static List<LabelIndex.LabelDef> LabelEstimator.parse(String answer, List<LabelIndex.LabelDef> labels) Reads the answer: the names of labels, separated by commas, semicolons or line breaks.Methods in io.github.jbastgen.stemma.app.label with parameters of type LabelIndex.LabelDefModifier and TypeMethodDescriptionvoidLabelService.define(LabelIndex.LabelDef def) Defines a label or changes its name or colour.Method parameters in io.github.jbastgen.stemma.app.label with type arguments of type LabelIndex.LabelDefModifier and TypeMethodDescriptionstatic StringLabelEstimator.buildPrompt(String template, String repo, String branch, CommitData commit, List<LabelIndex.LabelDef> labels, AiConfig config) Fills the template for one commit:{labels}with the configured labels, and (as for the description of a commit){repo},{branch},{commits}and{diff}.static List<LabelIndex.LabelDef> LabelEstimator.parse(String answer, List<LabelIndex.LabelDef> labels) Reads the answer: the names of labels, separated by commas, semicolons or line breaks.Constructor parameters in io.github.jbastgen.stemma.app.label with type arguments of type LabelIndex.LabelDefModifierConstructorDescriptionJob(LabelEstimator.Loader loader, Function<CommitData, String> promptFor, LabelEstimator.Asker asker, List<LabelIndex.LabelDef> labels, LabelEstimator.Sink sink)