- sanitizeBranchName(String) - Static method in class fr.brouillard.oss.jgitver.impl.GitUtils
-
- searchDepthLimit() - Method in class fr.brouillard.oss.jgitver.impl.VersionStrategy
-
Defines the history commit depth, starting from HEAD, until which parent commits will be parsed to find tags
information.
- searchMode() - Method in class fr.brouillard.oss.jgitver.impl.VersionStrategy
-
- self() - Method in class fr.brouillard.oss.jgitver.impl.VersionStrategy
-
- setAutoIncrementPatch(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
When true, when the found tag to calculate a version for HEAD is a normal/annotated one, the semver patch version
of the tag is increased by one ; except when the tag is on the HEAD itself.
- setAutoIncrementPatch(boolean) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setAutoIncrementPatch(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setAutoIncrementPatch(boolean) - Method in class fr.brouillard.oss.jgitver.impl.PatternVersionStrategy
-
Set the parameter to increment automatically patch number for standard versions coming from annotated tag.
- setFindTagVersionPattern(String) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines a regexp search pattern that will match tags identifying a version.
- setFindTagVersionPattern(String) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setGitCommitIdLength(int) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines how long the qualifier from SHA1 git commit has to be.
- setGitCommitIdLength(int) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setGitCommitIdLength(int) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setLookupPolicy(LookupPolicy) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines the
LookupPolicy to be used for the next version resolution.
- setLookupPolicy(LookupPolicy) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setMavenLike(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
- setMavenLike(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setMaxDepth(int) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines max depth to look for version tags, defaults to Integer.MAX_VALUE.
- setMaxDepth(int) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setNonQualifierBranches(String) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines a comma separated list of branches for which no branch name qualifier will be used. default "master".
- setNonQualifierBranches(String) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setQualifierBranchingPolicies(BranchingPolicy...) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Sets as an array the policies that will be applied to try to build a qualifier from the branch of the HEAD.
- setQualifierBranchingPolicies(List<BranchingPolicy>) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Sets as a list the policies that will be applied to try to build a qualifier from the branch of the HEAD.
- setQualifierBranchingPolicies(BranchingPolicy...) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setQualifierBranchingPolicies(List<BranchingPolicy>) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setSearchDepthLimit(int) - Method in class fr.brouillard.oss.jgitver.impl.VersionStrategy
-
Sets a limit to the depth of lookup for base version tags.
- setStrategy(Strategies) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines the strategy to use.
- setStrategy(Strategies) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setTagVersionPattern(String) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines the version pattern to use in
Strategies.PATTERN mode when HEAD is on an annotated tag
- setTagVersionPattern(String) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setTagVersionPattern(String) - Method in class fr.brouillard.oss.jgitver.impl.PatternVersionStrategy
-
Set the version pattern to use to compute the final version when HEAD is on a commit with an annotated tag.
- setUseCommitTimestamp(boolean) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setUseDefaultBranchingPolicy(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
- setUseDefaultBranchingPolicy(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setUseDirty(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
When true, append a qualifier with the "dirty" qualifier if the repository is in a dirty state (ie with
uncommited changes or new files)
- setUseDirty(boolean) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setUseDirty(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setUseDirty(boolean) - Method in class fr.brouillard.oss.jgitver.impl.MavenVersionStrategy
-
- setUseDistance(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
When true, append a qualifier with the distance between the HEAD commit and the found commit with a version tag.
- setUseDistance(boolean) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setUseDistance(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setUseGitCommitId(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
When true, append the git commit id (SHA1) to the version.
- setUseGitCommitId(boolean) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setUseGitCommitId(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setUseGitCommitTimestamp(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
When true, append the git commit timestamp to the version.
- setUseGitCommitTimestamp(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setUseLongFormat(boolean) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
When true describes commits hash with long format pattern, ie preceded with the letter 'g'.
- setUseLongFormat(boolean) - Method in class fr.brouillard.oss.jgitver.impl.ConfigurableVersionStrategy
-
- setUseLongFormat(boolean) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setVersionPattern(String) - Method in interface fr.brouillard.oss.jgitver.GitVersionCalculator
-
Defines the version pattern to use in
Strategies.PATTERN mode for normal situation (i.e. not on a tag)
- setVersionPattern(String) - Method in class fr.brouillard.oss.jgitver.impl.GitVersionCalculatorImpl
-
- setVersionPattern(String) - Method in class fr.brouillard.oss.jgitver.impl.PatternVersionStrategy
-
Set the version pattern to use to compute the final version.
- Strategies - Enum in fr.brouillard.oss.jgitver
-
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.BranchingPolicy.BranchNameTransformations
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.impl.pattern.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.impl.VersionStrategy.StrategySearchMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.LookupPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.metadata.Metadatas
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.metadata.TagType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.brouillard.oss.jgitver.Strategies
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum fr.brouillard.oss.jgitver.BranchingPolicy.BranchNameTransformations
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fr.brouillard.oss.jgitver.impl.pattern.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fr.brouillard.oss.jgitver.impl.VersionStrategy.StrategySearchMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fr.brouillard.oss.jgitver.LookupPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fr.brouillard.oss.jgitver.metadata.Metadatas
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fr.brouillard.oss.jgitver.metadata.TagType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum fr.brouillard.oss.jgitver.Strategies
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Version - Class in fr.brouillard.oss.jgitver
-
- Version(Version) - Constructor for class fr.brouillard.oss.jgitver.Version
-
- Version(int, int, int, String...) - Constructor for class fr.brouillard.oss.jgitver.Version
-
- VersionCalculationException - Exception in fr.brouillard.oss.jgitver.impl
-
- VersionCalculationException(String, Throwable) - Constructor for exception fr.brouillard.oss.jgitver.impl.VersionCalculationException
-
- VersionCalculationException(String) - Constructor for exception fr.brouillard.oss.jgitver.impl.VersionCalculationException
-
- versionFromTag(Ref) - Method in class fr.brouillard.oss.jgitver.impl.VersionStrategy
-
Computes a
Version object from the given tag reference using the strategy configuration.
- VersionGrammarDefinition - Class in fr.brouillard.oss.jgitver.impl.pattern
-
Grammar definition to recognize a version pattern.
- VersionGrammarDefinition() - Constructor for class fr.brouillard.oss.jgitver.impl.pattern.VersionGrammarDefinition
-
Default constructor that define the grammar rules.
- VersionGrammarParser - Class in fr.brouillard.oss.jgitver.impl.pattern
-
- VersionGrammarParser(VersionPatternGrammarDefinition) - Constructor for class fr.brouillard.oss.jgitver.impl.pattern.VersionGrammarParser
-
Constructor with given grammar.
- VersionNamingConfiguration - Class in fr.brouillard.oss.jgitver.impl
-
- VersionNamingConfiguration(BranchingPolicy...) - Constructor for class fr.brouillard.oss.jgitver.impl.VersionNamingConfiguration
-
Builds a Configuration object holding information to use while building version.
- VersionNamingConfiguration(Pattern, BranchingPolicy...) - Constructor for class fr.brouillard.oss.jgitver.impl.VersionNamingConfiguration
-
Builds a Configuration object holding information to use while building version.
- VersionPatternGrammarDefinition - Class in fr.brouillard.oss.jgitver.impl.pattern
-
- VersionPatternGrammarDefinition(Version, Function<String, Optional<String>>, Function<String, Optional<String>>, Function<Metadatas, Optional<String>>) - Constructor for class fr.brouillard.oss.jgitver.impl.pattern.VersionPatternGrammarDefinition
-
Constructor is given the necessary elements to transform the recognized elements.
- VersionStrategy<T extends VersionStrategy> - Class in fr.brouillard.oss.jgitver.impl
-
- VersionStrategy(VersionNamingConfiguration, Repository, Git, MetadataRegistrar) - Constructor for class fr.brouillard.oss.jgitver.impl.VersionStrategy
-
Default constructor.
- VersionStrategy.StrategySearchMode - Enum in fr.brouillard.oss.jgitver.impl
-