• API Documentation
Show / Hide Table of Contents
  • BuildSystem.Allure.Generator
    • AllureServe
  • BuildSystem.Builder.Dotnet
    • BuilderDotnet
    • BuilderDotnetProps
  • BuildSystem.Builder.Midl
    • BuilderMidl
    • BuilderMidlProps
  • BuildSystem.Builder.MsCpp
    • BuilderMsCpp
    • BuilderMsCppProps
  • BuildSystem.Builder.MsDelphi
    • BuilderMsDelphi
    • BuilderMsDelphiProps
  • BuildSystem.BuildSpace
    • IBuildSpace
  • BuildSystem.BuildSpace.Common
    • BuildSpaceCommon
    • RegisterFactoryAssemblies
  • BuildSystem.Cleaner.Common
    • CleanerCommon
    • CleanerCommonProps
  • BuildSystem.Factories
    • BuilderProps
    • CleanerProps
    • Factory<T1, T2>
    • FileCopierProps
    • GenDocProps
    • GenLangProps
    • GitExploreOptions
    • GlobalFactory
    • HashGeneratorProps
    • ITestRunnerProps
    • PackageManagerProps
    • ProjectCacheProps
    • ReclaimerProps
    • ReclaimerStrategyFactory
    • SignerProps
    • TestRunnerProps
    • TlbGenBplProps
    • TlbGenDotnetDllProps
    • TlbGenPasProps
    • VersionManagerProps
  • BuildSystem.FileCopier.Common
    • FileCopierCommon
    • FileCopierCommonProps
  • BuildSystem.GenDoc.DocFX
    • CppReader
    • CSharpConverter
    • DelphiReader
    • GenDocFX
    • GenDocFXProps
    • IReader
    • SourceInfo
    • SourceInfoLang
    • SourceInfoSummary
    • SourceInfoSyntax
    • SourceInfoSyntaxParam
    • SourceInfoType
    • YamlWriter
  • BuildSystem.HashGenerator.Common
    • HashGeneratorCommon
    • HashGeneratorCommonProps
  • BuildSystem.Info
    • BuildInfo
    • JenkinsInfo
    • RunInfo
    • SessionInfo
  • BuildSystem.Loggers
    • LoggerBroadCaster
    • LoggerBuffer
    • LoggerConsole
    • LoggerFile
  • BuildSystem.Logging
    • ILogger
    • LogLevel
    • tagLogLevel
  • BuildSystem.ManagerObject
    • IDictionaryStringString
    • IManager
    • IManagerProp
    • ManagerType
    • tagManagerType
  • BuildSystem.ManagerObject.Interfaces
    • CacheDependencyInfo
    • CacheProjectInfo
    • FileGroup
    • GenLangResult
    • GetPackageInfo
    • GetVersionList
    • HashAlgorithmType
    • IBuilder
    • IBuilderProps
    • ICleaner
    • ICleanerProps
    • IFileCopier
    • IFileCopierProps
    • IGenDoc
    • IGenDocProps
    • IGenLang
    • IGenLangProps
    • IHashGenerator
    • IHashGeneratorProps
    • IPackageManager
    • IPackageManagerProps
    • IProjectCache
    • IProjectCacheProps
    • IReclaimer
    • IReclaimerProps
    • IReclaimerStrategy
    • IReclaimerStrategyProps
    • IRestorer
    • IRestorerProps
    • ISigner
    • ISignerProps
    • ITestRunner
    • ITlbGenBpl
    • ITlbGenBplProps
    • ITlbGenDotnetDll
    • ITlbGenDotnetDllProps
    • ITlbGenPas
    • ITlbGenPasProps
    • IVersionManager
    • IVersionManagerProps
    • ReaderType
    • RestorerDepProp
    • VersionIncrementType
    • VersionIncrementValue
    • VersionManagerType
  • BuildSystem.ManagersFactory
    • IManagersFactory
    • ListManagerNameForVariant
    • ManagerConstNames
    • ManagerNameForVariant
  • BuildSystem.ManagersFactory.Common
    • ManagersFactoryCommon
  • BuildSystem.Nuget.Logging
    • NuGetLogging
  • BuildSystem.Package
    • CachePackageInfo
    • GetNextVersion
    • IPackage
    • IPackageProps
    • LicensePackageInfo
    • PackageAction
    • PackageDependency
    • PackageFiles
    • PackageProps
    • RepoPackageInfo
    • SetDuplicatePushStorageInfo
    • SetStorageInfo
    • StorageInfo
    • VersionProp
  • BuildSystem.Package.Dotnet
    • PackageDotnet
    • PackageDotnetProps
  • BuildSystem.Package.Factory
    • PackageFactory
    • PackageType
  • BuildSystem.Package.Nuget
    • PackageNuget
    • PackageNugetProps
  • BuildSystem.PackageManager.Dotnet
    • PackageManagerDotnet
    • PackageManagerDotnetProps
  • BuildSystem.PackageManager.Nuget
    • PackageManagerNuget
    • PackageManagerNugetProps
  • BuildSystem.Project
    • GetProjectInfoDelegate
    • IProject
    • ProjectGenDocProps
    • ProjectInfo
  • BuildSystem.Project.Base
    • ProjectBase
  • BuildSystem.Project.Cpp
    • ProjectCpp
  • BuildSystem.Project.CSharp
    • ProjectCSharp
  • BuildSystem.Project.Delphi
    • ProjectDelphi
  • BuildSystem.Project.Dependency
    • JsonProjectDependencies
    • NativeDependencies
    • ProjectDependency
  • BuildSystem.Project.Factory
    • ProjectFactory
  • BuildSystem.Project.Idl
    • ProjectIdl
  • BuildSystem.Project.PropReader
    • IProjectPropReader
  • BuildSystem.Project.PropReader.Json
    • ProjectPropReaderJson
  • BuildSystem.Project.Res
    • ProjectRes
  • BuildSystem.Project.Wix
    • ProjectWix
  • BuildSystem.ProjectCache.Common
    • ProjectCacheCommon
    • ProjectCacheCommonProps
  • BuildSystem.ProjectCache.NuGet
    • ProjectCacheNuGet
    • ProjectCacheNuGetProps
  • BuildSystem.ProjectList
    • BuildResultIsRequiredDelegate
    • CalcCopyBuildResultPathDelegate
    • CompilerConstants
    • IAnalyzer
    • IAnalyzerProps
    • IBuildInfoSaver
    • IBuildInfoSaverProps
    • ICompiler
    • ICompilerProps
    • ICopierBuildResults
    • ICopierBuildResultsProps
    • IDeployer
    • IDeployerProps
    • IProjectList
    • IProjectListProps
    • IProjectRestorer
    • IProjectRestorerProps
    • ISourceHashCalculator
    • ISourceHashCalculatorProps
    • ProjectFilter
    • RestoreInsteadOfBuildDelegate
    • SourceHashCalculatorConstants
  • BuildSystem.ProjectList.Common
    • GitHelper
    • GraphDot
    • ManagerRestorer
    • ProjectListCommon
    • ProjectListCommonProps
  • BuildSystem.ProjectList.Factory
    • ProjectListFactory
  • BuildSystem.ProjectList.Helpers
    • AnalyzerCommon
    • AnalyzerCommonProps
    • BuildInfoSaverCommon
    • BuildInfoSaverCommonProps
    • CompilerCommon
    • CompilerCommonProps
    • CopierBuildResultsCommon
    • CopierBuildResultsCommonProps
    • DeployerCommon
    • DeployerCommonProps
    • PackagesRestorer
    • ProjectRestorerCommon
    • ProjectRestorerCommonProps
    • SourceHashCalculatorCommon
    • SourceHashCalculatorCommonProps
    • TransitiveDependenciesBuilder
  • BuildSystem.Reclaimer.NugetCommon
    • ReclaimerNugetCommon
    • ReclaimerNugetCommonProps
  • BuildSystem.Reclaimer.Strategy.Common
    • ReclaimerStrategyCommon
    • ReclaimerStrategyCommonProps
  • BuildSystem.Reclaimer.Strategy.Delegate
    • CalcDeletingPackages
    • ReclaimerStrategyDelegate
    • ReclaimerStrategyDelegateProps
  • BuildSystem.Restorer
    • RestorerProps
  • BuildSystem.Restorer.Nuget
    • RestorerNuget
    • RestorerNugetProps
  • BuildSystem.SettingsReader
    • ISettingsReader
    • ReaderJson
    • SettingsReaderType
  • BuildSystem.SettingsReader.Factory
    • SettingsReaderFactory
  • BuildSystem.SettingsReader.Json
    • SettingsReaderJson
  • BuildSystem.SettingsReader.Object
    • SettingsObject
    • SettingsReaderObject
  • BuildSystem.SharedMemIPC
    • DelayedProcedure
    • HandleRequestProc
    • HandleStreamProc
    • IPCStream
    • SharedMemClient
    • SharedMemObject
    • SharedMemServer
  • BuildSystem.Signer.Win
    • SignerWin
    • SignerWinProps
  • BuildSystem.TestRunner.Common
    • TestRunnerCommon
    • TestRunnerCommonProps
  • BuildSystem.TlbDoc
    • TlbHelpReader
  • BuildSystem.TlbGenBpl.ThroughPas
    • TlbGenBplThroughPas
    • TlbGenBplThroughPasProps
  • BuildSystem.TlbGenDotnetDll.TlbImp
    • TlbGenDotnetDllTlbImp
    • TlbGenDotnetDllTlbImpProps
  • BuildSystem.TlbGenPas.LibImp
    • TlbGenPasLibImp
    • TlbGenPasLibImpProps
  • BuildSystem.TypesCS.Dictionary
    • DictionaryStringString
  • BuildSystem.Utils
    • Matcher
    • PropReader
  • BuildSystem.Utils.AdminRunner
    • AdminRunner
    • SingleRunner
  • BuildSystem.Utils.DirectoryHelper
    • DirectoryCleaner
    • DirectoryCopier
    • DirectoryScanner
  • BuildSystem.Utils.Executor
    • CmdRunner
    • ExeLine
    • ExeRunner
  • BuildSystem.Utils.FileFormatter
    • FileFormatter
  • BuildSystem.Utils.GitHelper
    • GitRepository
  • BuildSystem.Utils.IpcProcessRunner
    • ProcessRunner
  • BuildSystem.Utils.Json
    • JsonDefinesFormatter
    • JsonReader
    • JsonUtils
  • BuildSystem.Utils.PathReader
    • PathReader
  • BuildSystem.Utils.Xml
    • XmlUtils
  • BuildSystem.Variants
    • ConfigurationType
    • TargetPlatform
    • Variant
    • VariantList
  • BuildSystem.VersionManager.Common
    • VersionManagerCommon
    • VersionManagerCommonProps
  • IdeProjectFileEditor
    • DBinOutType
    • DConfigType
    • DotNetOutPathType
    • DotNetReferenceType
    • DPathPropType
    • DPlatformType
    • IDelphiMainSrcEditor
    • IDelphiProjectEditor
    • IDEProjectEditor
    • IDotNetProjectEditor
    • IProjectReferenceEditor
    • IXMLEditor
    • ProjectReferenceInfo
  • ProjectDependencyScanner
    • DependencyScanner
    • IDLAdditionalInfo
    • IDotNetAdditionalInfo
    • IDSProject
    • IDSProjectsList
    • IPDelphiAdditionalInfo
    • IProjectDependencyScanner
    • IProjectsDependenciesScanner
    • PlatformType
    • ProjectType

Class VersionManagerCommonProps

Container of properties for classes VersionManagerCommon

Inheritance
object
VersionManagerProps
VersionManagerCommonProps
Implements
IVersionManagerProps
IManagerProp
Inherited Members
VersionManagerProps.ClassIdent
VersionManagerProps.NodeName
VersionManagerProps.NodeUseCache
VersionManagerProps.ManagerType
VersionManagerProps.Name
VersionManagerProps.UseCache
Namespace: BuildSystem.VersionManager.Common
Assembly: BuildSystem.Core.dll
Syntax
public class VersionManagerCommonProps : VersionManagerProps, IVersionManagerProps, IManagerProp

Constructors

VersionManagerCommonProps()

Container of properties for classes implementing VersionManagerCommonProps

Declaration
public VersionManagerCommonProps()

VersionManagerCommonProps(IManagerProp)

Container of properties for classes implementing VersionManagerCommonProps

Declaration
public VersionManagerCommonProps(IManagerProp source)
Parameters
Type Name Description
IManagerProp source

Fields

NodeDefaultBranchName

Node key in JSON with properties - value for DefaultBranchName

Declaration
public const string NodeDefaultBranchName = "default_branch_name"
Field Value
Type Description
string

NodeDepthSearch

Node key in JSON with properties - value for DepthSearch

Declaration
public const string NodeDepthSearch = "depth_search"
Field Value
Type Description
string

NodeDevelopBranchName

Node key in JSON with value for DevelopBranchName

Declaration
public const string NodeDevelopBranchName = "develop_branch_name"
Field Value
Type Description
string

NodeMasterBranchName

Node key in JSON with value for MasterBranchName

Declaration
public const string NodeMasterBranchName = "master_branch_name"
Field Value
Type Description
string

NodePullRequestBranchPrefix

Node key on JSON with value for PullRequestBranchPrefix

Declaration
public const string NodePullRequestBranchPrefix = "pull_request_branch_prefix"
Field Value
Type Description
string

NodeReleaseBranchName

Node key on JSON with value for ReleaseBranchName

Declaration
public const string NodeReleaseBranchName = "release_branch_name"
Field Value
Type Description
string

NodeStartValue

Node key in JSON with properties - value for StartValue

Declaration
public const string NodeStartValue = "start_value"
Field Value
Type Description
string

NodeUnstableVersionGap

Node key on JSON with value for UnstableVersionGap

Declaration
public const string NodeUnstableVersionGap = "unstable_version_gap"
Field Value
Type Description
string

Properties

DefaultBranchName

Default branch name if env var from jenkins is empty - in case of running on developers machine

Declaration
public string DefaultBranchName { get; set; }
Property Value
Type Description
string

DepthSearch

How many versions analyze if they have same hash and dep versions. The more this value the more slowly works calculating next version

Declaration
public Nullable<int> DepthSearch { get; set; }
Property Value
Type Description
System.Nullable<><int>

DevelopBranchName

Name of master branch if it differs from "develop"

Declaration
public string DevelopBranchName { get; set; }
Property Value
Type Description
string

MasterBranchName

Name of master branch if it differs from "master"

Declaration
public string MasterBranchName { get; set; }
Property Value
Type Description
string

PullRequestBranchPrefix

o.o.o-XXX.o, where XXX - is current value

Declaration
public string PullRequestBranchPrefix { get; set; }
Property Value
Type Description
string

ReleaseBranchName

Name of master branch if it differs from "release"

Declaration
public string ReleaseBranchName { get; set; }
Property Value
Type Description
string

StartValue

Start value for version number if no versions on server exists

Declaration
public int StartValue { get; set; }
Property Value
Type Description
int

UnstableVersionGap

Value inserted in formula (X div A) * A + A instead of A, where X - version number, and we want to get next version. That means some gap between stable versions and unstable versions

Declaration
public int UnstableVersionGap { get; set; }
Property Value
Type Description
int

Methods

ApplyConstants(IDictionaryStringString)

Declaration
public override void ApplyConstants(IDictionaryStringString constants)
Parameters
Type Name Description
IDictionaryStringString constants
Overrides
VersionManagerProps.ApplyConstants(IDictionaryStringString)

Clone()

Creates a new instance - copy of current object

Declaration
public override IManagerProp Clone()
Returns
Type Description
IManagerProp

New instance

Overrides
VersionManagerProps.Clone()

Copy(IManagerProp)

Container of properties for classes implementing VersionManagerProps

Declaration
public override void Copy(IManagerProp source)
Parameters
Type Name Description
IManagerProp source
Overrides
VersionManagerProps.Copy(IManagerProp)

EmptyValues()

Set values of private properties to default

Declaration
public override void EmptyValues()
Overrides
VersionManagerProps.EmptyValues()

Update(string, string)

Declaration
public override void Update(string jsonInfo, string relativeDir)
Parameters
Type Name Description
string jsonInfo
string relativeDir
Overrides
VersionManagerProps.Update(string, string)

Implements

IVersionManagerProps
IManagerProp
In This Article
Back to top Generated by DocFX