| Modifier and Type | Class and Description |
|---|---|
class |
BuildRetentionBranchProperty |
class |
NoTriggerBranchProperty
Deprecated.
Replaced by a named branch build strategy in the
basic-branch-build-strategies plugin. |
class |
ParameterDefinitionBranchProperty
Support for build parameters.
|
class |
RateLimitBranchProperty
A branch property that limits how often a specific branch can be built.
|
class |
UntrustedBranchProperty
Indicates that the branch contains code changes from authors who do not otherwise have the write access
to the repository.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends BranchProperty> |
Branch.getProperty(Class<T> clazz)
Gets the specific property, or
null if no such property is found. |
| Modifier and Type | Method and Description |
|---|---|
List<BranchProperty> |
NamedExceptionsBranchPropertyStrategy.getDefaultProperties()
Gets the default properties.
|
List<BranchProperty> |
Branch.getProperties()
Gets all the properties.
|
List<BranchProperty> |
DefaultBranchPropertyStrategy.getPropertiesFor(jenkins.scm.api.SCMHead head)
|
List<BranchProperty> |
NamedExceptionsBranchPropertyStrategy.getPropertiesFor(jenkins.scm.api.SCMHead head)
|
abstract List<BranchProperty> |
BranchPropertyStrategy.getPropertiesFor(jenkins.scm.api.SCMHead head)
|
List<BranchProperty> |
DefaultBranchPropertyStrategy.getProps()
Gets the properties.
|
List<BranchProperty> |
NamedExceptionsBranchPropertyStrategy.Named.getProps()
Returns the exception properties.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Branch.hasProperty(Class<? extends BranchProperty> clazz)
Tests if a property of a specific type is present.
|
| Constructor and Description |
|---|
DefaultBranchPropertyStrategy(BranchProperty[] props)
Stapler's constructor.
|
Named(String name,
BranchProperty[] props)
Constructor
|
NamedExceptionsBranchPropertyStrategy(BranchProperty[] defaultProperties,
NamedExceptionsBranchPropertyStrategy.Named[] namedExceptions)
Stapler's constructor.
|
| Constructor and Description |
|---|
Branch(String sourceId,
jenkins.scm.api.SCMHead head,
SCM scm,
List<? extends BranchProperty> properties)
Constructs a branch instance.
|
Dead(jenkins.scm.api.SCMHead name,
List<? extends BranchProperty> properties)
Constructor.
|
Copyright © 2016–2019. All rights reserved.