| Package | Description |
|---|---|
| fr.brouillard.oss.jgitver | |
| fr.brouillard.oss.jgitver.impl |
| Modifier and Type | Field and Description |
|---|---|
static BranchingPolicy |
BranchingPolicy.DEFAULT_FALLBACK
Default branching policy that sanitizes branch names as per jgtiver <=
0.2.0-alpha1;
|
| Modifier and Type | Method and Description |
|---|---|
static BranchingPolicy |
BranchingPolicy.fixedBranchName(String name)
Builds a BranchingPolicy object that matches the given name and apply the default transformations.
|
static BranchingPolicy |
BranchingPolicy.fixedBranchName(String name,
List<String> transformations)
Builds a BranchingPolicy object that matches the given name and apply the given transformations.
|
static BranchingPolicy |
BranchingPolicy.ignoreBranchName(String name)
Builds a BranchingPolicy object that matches the given name for which the recognized branch name has not to be used, ie ignored.
|
| Modifier and Type | Method and Description |
|---|---|
GitVersionCalculator |
GitVersionCalculator.setQualifierBranchingPolicies(BranchingPolicy... policies)
Sets as an array the policies that will be applied to try to build a qualifier from the branch of the HEAD.
|
| Modifier and Type | Method and Description |
|---|---|
GitVersionCalculator |
GitVersionCalculator.setQualifierBranchingPolicies(List<BranchingPolicy> policies)
Sets as a list the policies that will be applied to try to build a qualifier from the branch of the HEAD.
|
| Constructor and Description |
|---|
VersionNamingConfiguration(BranchingPolicy... policies)
Builds a Configuration object holding information to use while building version.
|
VersionNamingConfiguration(Pattern searchVersionPattern,
BranchingPolicy... policies)
Builds a Configuration object holding information to use while building version.
|
Copyright © 2016–2018 Matthieu Brouillard. All rights reserved.