A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

apply(Project) - Method in VersionerPlugin
apply(Project) - Method in VersionResolutionPlugin

B

C

compareTo(Version) - Method in Version
contains(String) - Method in VersionRange

D

E

EnvReader - Class in com.sarhanm.versioner
Mostly to be mockable
equals(Object) - Method in Version
execute(def) - Method in GitExecutor
Executes the git command
execute(DependencyResolveDetails) - Method in VersionResolver

F

G

getBranch() - Method in GitData
getBranch() - Method in Versioner
@return Branch name without the remote and/or origin prefix
getBranchNameFromEnv(def) - Method in EnvReader
getBranchNameRaw() - Method in Versioner
getCleansedBranchName() - Method in Versioner
@return Branch name without slashes or dots
getCommit() - Method in GitData
getCommitHash() - Method in Versioner
getComputedVersionManifest() - Method in VersionResolver
getHotfix() - Method in GitData
getHotfixNumber() - Method in Versioner
@return Hotfix version number as integer
getIntVersionNum(String) - Method in Version
getMajor() - Method in GitData
getMajorMinor() - Method in Versioner
@return Major and minor version numbers as String (such as "3.4")
getMajorNumber() - Method in Versioner
@return Major version number as integer
getMinor() - Method in GitData
getMinorNumber() - Method in Versioner
@return Minor version number as integer
getPoint() - Method in GitData
getPointNumber() - Method in Versioner
@return Point version number as integer
getRepos() - Method in VersionResolver
getTotalCommits() - Method in GitData
getTotalCommits() - Method in Versioner
@return total commits since the inception of the repo
getVersion() - Method in GitData
getVersion() - Method in Versioner
@return The full version major.minor.point.branch-name
getVersionPoint() - Method in Versioner
Returns:
Point version number as String.
GitData - Class in com.sarhanm.versioner
Git version data returned from the Versioner plugin for use in the build script.
GitData(Versioner) - Constructor in GitData
GitExecutor - Class in com.sarhanm.versioner
Separate class so we can mock and test
GitExecutor(Project) - Constructor in GitExecutor

H

I

J

K

L

M

N

O

omitBranchMetadata() - Method in Versioner
outputManifest() - Method in VersionManifestOutputTask

P

plus(def) - Method in Versioner

Q

R

regex_full_version - Field in Version
regex_version - Field in Version
resolveVersion(String, String, String, VersionRange) - Method in VersionResolver
resolveVersionFromManifest(DependencyResolveDetails) - Method in VersionResolver

S

T

toString() - Method in Versioner

U

V

Version - Class in com.sarhanm.resolver
@author mohammad sarhan
VERSION_RESOLVER - Field in VersionResolutionPlugin
Version(String) - Constructor in Version
Versioner - Class in com.sarhanm.versioner
Generates a solid and snapshot version using information derived from the git repository
Versioner(VersionerOptions, Project) - Constructor in Versioner
VersionerOptions - Class in com.sarhanm.versioner
Extension closure to pass parameters from the build script to the plugin
VersionerPlugin - Class in com.sarhanm.versioner
Plugin to easily set the version of a project
VersionManifestOption - Class in com.sarhanm.resolver
VersionManifestOutputTask - Class in com.sarhanm.resolver
Task to output the computed version manifest to a well-known location
VersionRange - Class in com.sarhanm.resolver
@author mohammad sarhan
VersionRange(String) - Constructor in VersionRange
VersionResolutionPlugin - Class in com.sarhanm.resolver
@author mohammad sarhan
VersionResolver - Class in com.sarhanm.resolver
@author mohammad sarhan
VersionResolver(Project, VersionManifestOption, File) - Constructor in VersionResolver
VersionResolverOptions - Class in com.sarhanm.resolver
@author mohammad sarhan

W

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _