Class VersionManagerCommonProps
Container of properties for classes VersionManagerCommon
Inherited Members
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
Clone()
Creates a new instance - copy of current object
Declaration
public override IManagerProp Clone()
Returns
Type | Description |
---|---|
IManagerProp | New instance |
Overrides
Copy(IManagerProp)
Container of properties for classes implementing VersionManagerProps
Declaration
public override void Copy(IManagerProp source)
Parameters
Type | Name | Description |
---|---|---|
IManagerProp | source |
Overrides
EmptyValues()
Set values of private properties to default
Declaration
public override void EmptyValues()
Overrides
Update(string, string)
Declaration
public override void Update(string jsonInfo, string relativeDir)
Parameters
Type | Name | Description |
---|---|---|
string | jsonInfo | |
string | relativeDir |