Index

A D F G I J L M O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AntPatternMatcher - Class in org.jdrupes.gitversioning.core
Matches paths against an Ant-style pattern.
AntPatternMatcher(String) - Constructor for class org.jdrupes.gitversioning.core.AntPatternMatcher
Creates a new Ant pattern matcher.

D

DefaultTagFilter - Class in org.jdrupes.gitversioning.core
Default implementation of TagFilter based on a regular expression.
DefaultTagFilter() - Constructor for class org.jdrupes.gitversioning.core.DefaultTagFilter
Creates a filter using the DefaultTagFilter.VERSION_PATTERN.
dirtyFiles() - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Returns a stream of "dirty" (uncommitted or untracked) files in the work tree that match the configured file selection.
dirtyFiles() - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 

F

forRepository(Repository) - Static method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Creates a version evaluator for the given repository.
forRepository(Repository, ClassLoader) - Static method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Creates a version evaluator for the given repository.

G

GlobMatcher - Class in org.jdrupes.gitversioning.core
Matches paths against a glob expression.
GlobMatcher(String) - Constructor for class org.jdrupes.gitversioning.core.GlobMatcher
Creates a new glob matcher.

I

ignoreBranches(String...) - Method in class org.jdrupes.gitversioning.core.MavenStyleTagProcessor
Adds patterns to the list of ignored branches.
ignoredBranches(String...) - Method in class org.jdrupes.gitversioning.core.MavenStyleTagProcessor
Replaces the ignored branch patterns.
IncludeMatcher - Interface in org.jdrupes.gitversioning.core
Matches a file path against a pattern.

J

JDrupes Git Versioning - Section in Overview
 

L

log - Variable in class org.jdrupes.gitversioning.core.TagProcessorBase
Logger for the concrete subclass.
log - Variable in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
Logger for this instance.

M

matches(Path) - Method in class org.jdrupes.gitversioning.core.AntPatternMatcher
 
matches(Path) - Method in class org.jdrupes.gitversioning.core.GlobMatcher
 
matches(Path) - Method in interface org.jdrupes.gitversioning.core.IncludeMatcher
Checks whether the path matches the pattern.
matches(Path) - Method in class org.jdrupes.gitversioning.core.RegexMatcher
 
matchingAntPattern(String) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Include all files matching the given Ant pattern when evaluating the version.
matchingAntPattern(String) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
matchingGlob(String) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Include all files matching the given glob expression when evaluating the version.
matchingGlob(String) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
matchingRegex(String) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Include all files matching the given regular expression when evaluating the version.
matchingRegex(String) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
MavenStyleTagProcessor - Class in org.jdrupes.gitversioning.core
Maven-style TagProcessor implementation.
MavenStyleTagProcessor() - Constructor for class org.jdrupes.gitversioning.core.MavenStyleTagProcessor
Creates a processor with default ignored branches (main, master).
modifiedFiles() - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Returns a stream of files modified since the latest version tag that match the configured file selection.
modifiedFiles() - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 

O

org.jdrupes.gitversioning.api - package org.jdrupes.gitversioning.api
Public API for Git-based version evaluation.
org.jdrupes.gitversioning.core - package org.jdrupes.gitversioning.core
Reference implementation of the GitVersioning API.

P

pattern(String) - Method in class org.jdrupes.gitversioning.core.DefaultTagFilter
Sets the pattern.
prepend(String) - Method in class org.jdrupes.gitversioning.core.DefaultTagFilter
Prepends a prefix to the current pattern.

R

RegexMatcher - Class in org.jdrupes.gitversioning.core
Matches paths against a Java regular expression.
RegexMatcher(String) - Constructor for class org.jdrupes.gitversioning.core.RegexMatcher
Creates a new regex matcher.
repository() - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Returns the evaluator's repository.
repository() - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
repository(Repository) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluatorProvider
Sets the repository to use.
repository(Repository) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 

S

subDirectory(Path) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Include all files under the given sub-directory when evaluating the version.
subDirectory(Path) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 

T

tagFilter(TagFilter) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Sets the tag filter to use.
tagFilter(TagFilter) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
TagFilter - Interface in org.jdrupes.gitversioning.api
Determines whether a tag name represents a version tag and extracts the version string from it.
tagProcessor(TagProcessor) - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Sets the tag processor to use.
tagProcessor(TagProcessor) - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
TagProcessor - Interface in org.jdrupes.gitversioning.api
Generates a version string from Git repository information.
TagProcessorBase - Class in org.jdrupes.gitversioning.core
Abstract base class for TagProcessor implementations.
TagProcessorBase() - Constructor for class org.jdrupes.gitversioning.core.TagProcessorBase
Creates a new tag processor base.

V

version() - Method in interface org.jdrupes.gitversioning.api.VersionEvaluator
Evaluates and returns the version string for the current repository state.
version() - Method in class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
 
version(String) - Method in interface org.jdrupes.gitversioning.api.TagFilter
Returns the version part of the tag if the tag matches.
version(String) - Method in class org.jdrupes.gitversioning.core.DefaultTagFilter
 
version(VersionEvaluator, String, String) - Method in interface org.jdrupes.gitversioning.api.TagProcessor
Generates the version string.
version(VersionEvaluator, String, String) - Method in class org.jdrupes.gitversioning.core.MavenStyleTagProcessor
 
VERSION_PATTERN - Static variable in class org.jdrupes.gitversioning.core.DefaultTagFilter
The default version pattern that matches semver-style version strings.
VersionEvaluator - Interface in org.jdrupes.gitversioning.api
Configurable version evaluator for a Git repository.
VersionEvaluatorProvider - Class in org.jdrupes.gitversioning.core
Reference implementation of VersionEvaluatorProvider.
VersionEvaluatorProvider - Interface in org.jdrupes.gitversioning.api
SPI for version evaluator implementations.
VersionEvaluatorProvider() - Constructor for class org.jdrupes.gitversioning.core.VersionEvaluatorProvider
Creates a new evaluator provider with default tag filter and processor.
A D F G I J L M O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values