Class VersionExtension
-
- All Implemented Interfaces:
public class VersionExtensionThis is the extension of this plugin.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VersionExtension(ObjectFactory objectFactory, ProjectLayout layout, ProviderFactory providerFactory)
-
Method Summary
Modifier and Type Method Description final ProviderFactorygetProviderFactory()final Provider<String>getDefaultVersionProvider()This is provider for the defaultVersion property. final StringgetDefaultVersion()This is defaultVersion property. final UnitsetDefaultVersion(String value)This is defaultVersion property. final Provider<String>getMainBranchProvider()This is provider for the mainBranch property. final StringgetMainBranch()This is mainBranch property. final UnitsetMainBranch(String value)This is mainBranch property. final Provider<String>getDevelopBranchProvider()This is provider for the developBranch property. final StringgetDevelopBranch()This is developBranch property. final UnitsetDevelopBranch(String value)This is developBranch property. final Provider<String>getMajorBranchProvider()This is provider for the developBranch property. final StringgetMajorBranch()This is developBranch property. final UnitsetMajorBranch(String value)This is developBranch property. final Provider<String>getHotfixPrefixProvider()This is provider for the hotfixPrefix property. final StringgetHotfixPrefix()This is hotfixPrefix property. final UnitsetHotfixPrefix(String value)This is hotfixPrefix property. final Provider<String>getFeaturePrefixProvider()This is provider for the featurePrefix property. final StringgetFeaturePrefix()This is featurePrefix property. final UnitsetFeaturePrefix(String value)This is featurePrefix property. final Provider<String>getReleasePrefixProvider()This is provider for the releasePrefix property. final StringgetReleasePrefix()This is releasePrefix property. final UnitsetReleasePrefix(String value)This is releasePrefix property. final Provider<String>getSupportPrefixProvider()This is provider for the releasePrefix property. final StringgetSupportPrefix()This is releasePrefix property. final UnitsetSupportPrefix(String value)This is releasePrefix property. final Provider<String>getVersionPrefixProvider()This is provider for the versionPrefix property. final StringgetVersionPrefix()This is versionPrefix property. final UnitsetVersionPrefix(String value)This is versionPrefix property. final Provider<String>getSeparatorProvider()This is provider for the separator property. final StringgetSeparator()This is separator property. final UnitsetSeparator(String value)This is separator property. final Provider<String>getVersionTypeProvider()This is provider for the versionType property. final StringgetVersionType()This is versionType property. final UnitsetVersionType(String value)This is versionType property. final Provider<Boolean>getShortenedProvider()This is provider for the shortened property. final BooleangetFullbranch()This is shortened property. final UnitsetFullbranch(Boolean value)This is shortened property. final GitVersionServicegetVersionService()This is the service for version calculation. final StringgetVersion()This is the version string. final StringgetContainerVersion()This is the version for containers. final StringgetVersionWithID()final StringgetPreviousVersion()This is the previous version string. final StringgetBranchName()This is the branch name. -
-
Method Detail
-
getProviderFactory
final ProviderFactory getProviderFactory()
-
getDefaultVersionProvider
final Provider<String> getDefaultVersionProvider()
This is provider for the defaultVersion property.
-
getDefaultVersion
final String getDefaultVersion()
This is defaultVersion property.
-
setDefaultVersion
final Unit setDefaultVersion(String value)
This is defaultVersion property.
-
getMainBranchProvider
final Provider<String> getMainBranchProvider()
This is provider for the mainBranch property.
-
getMainBranch
final String getMainBranch()
This is mainBranch property.
-
setMainBranch
final Unit setMainBranch(String value)
This is mainBranch property.
-
getDevelopBranchProvider
final Provider<String> getDevelopBranchProvider()
This is provider for the developBranch property.
-
getDevelopBranch
final String getDevelopBranch()
This is developBranch property.
-
setDevelopBranch
final Unit setDevelopBranch(String value)
This is developBranch property.
-
getMajorBranchProvider
final Provider<String> getMajorBranchProvider()
This is provider for the developBranch property.
-
getMajorBranch
final String getMajorBranch()
This is developBranch property.
-
setMajorBranch
final Unit setMajorBranch(String value)
This is developBranch property.
-
getHotfixPrefixProvider
final Provider<String> getHotfixPrefixProvider()
This is provider for the hotfixPrefix property.
-
getHotfixPrefix
final String getHotfixPrefix()
This is hotfixPrefix property.
-
setHotfixPrefix
final Unit setHotfixPrefix(String value)
This is hotfixPrefix property.
-
getFeaturePrefixProvider
final Provider<String> getFeaturePrefixProvider()
This is provider for the featurePrefix property.
-
getFeaturePrefix
final String getFeaturePrefix()
This is featurePrefix property.
-
setFeaturePrefix
final Unit setFeaturePrefix(String value)
This is featurePrefix property.
-
getReleasePrefixProvider
final Provider<String> getReleasePrefixProvider()
This is provider for the releasePrefix property.
-
getReleasePrefix
final String getReleasePrefix()
This is releasePrefix property.
-
setReleasePrefix
final Unit setReleasePrefix(String value)
This is releasePrefix property.
-
getSupportPrefixProvider
final Provider<String> getSupportPrefixProvider()
This is provider for the releasePrefix property.
-
getSupportPrefix
final String getSupportPrefix()
This is releasePrefix property.
-
setSupportPrefix
final Unit setSupportPrefix(String value)
This is releasePrefix property.
-
getVersionPrefixProvider
final Provider<String> getVersionPrefixProvider()
This is provider for the versionPrefix property.
-
getVersionPrefix
final String getVersionPrefix()
This is versionPrefix property.
-
setVersionPrefix
final Unit setVersionPrefix(String value)
This is versionPrefix property.
-
getSeparatorProvider
final Provider<String> getSeparatorProvider()
This is provider for the separator property.
-
getSeparator
final String getSeparator()
This is separator property.
-
setSeparator
final Unit setSeparator(String value)
This is separator property.
-
getVersionTypeProvider
final Provider<String> getVersionTypeProvider()
This is provider for the versionType property.
-
getVersionType
final String getVersionType()
This is versionType property.
-
setVersionType
final Unit setVersionType(String value)
This is versionType property.
-
getShortenedProvider
final Provider<Boolean> getShortenedProvider()
This is provider for the shortened property.
-
getFullbranch
final Boolean getFullbranch()
This is shortened property.
-
setFullbranch
final Unit setFullbranch(Boolean value)
This is shortened property.
-
getVersionService
final GitVersionService getVersionService()
This is the service for version calculation.
-
getVersion
final String getVersion()
This is the version string.
-
getContainerVersion
final String getContainerVersion()
This is the version for containers. There is no "Snapshot"
-
getVersionWithID
final String getVersionWithID()
-
getPreviousVersion
final String getPreviousVersion()
This is the previous version string.
-
getBranchName
final String getBranchName()
This is the branch name.
-
-
-
-