open class AutoMerge : BuildFeature
Build feature enabling automatic merge in build configuration or template.
See Also
enum class MergeCondition
A condition which should be satisfied for merge to happen |
|
enum class MergePolicy
Settings for merge commit |
|
enum class RunPolicy
Policy for running merge feature |
AutoMerge(init: AutoMerge.() -> Unit) AutoMerge()
Build feature enabling automatic merge in build configuration or template. |
var branchFilter: String?
A filter for logical names of the branches whose build's sources will be merged. |
|
var commitMessage: String?
A merge commit message |
|
var destinationBranch: String?
A logical name of the destination branch the sources will be merged to. The branch must be present in a repository and included into the branch specification. |
|
var mergeCondition: String?
A condition which should be satisfied for merge to happen |
|
var mergePolicy: MergePolicy?
Specifies settings for merge commit |
|
var runPolicy: RunPolicy?
Run policy of auto merge |
var enabled: Boolean
Specifies whether the feature is enabled, true by default |
|
var id: String?
Build feature id, if not specified will be generated |
|
var type: String
Build feature type |
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open fun create(): BuildFeature
Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |