public class ChangeDiscoveryTrait
extends jenkins.scm.api.trait.SCMSourceTrait
Discovery
trait that would discover all the Gerrit ChangesModifier and Type | Class and Description |
---|---|
static class |
ChangeDiscoveryTrait.BranchSCMHeadAuthority
Trusts branches from the repository.
|
static class |
ChangeDiscoveryTrait.DescriptorImpl
Our descriptor.
|
Constructor and Description |
---|
ChangeDiscoveryTrait(String queryString)
Constructor for stapler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
decorateContext(jenkins.scm.api.trait.SCMSourceContext<?,?> context) |
String |
getQueryString()
Returns the changes query string.
|
boolean |
includeCategory(jenkins.scm.api.SCMHeadCategory category) |
@DataBoundConstructor public ChangeDiscoveryTrait(String queryString)
public String getQueryString()
protected void decorateContext(jenkins.scm.api.trait.SCMSourceContext<?,?> context)
decorateContext
in class jenkins.scm.api.trait.SCMSourceTrait
public boolean includeCategory(@Nonnull jenkins.scm.api.SCMHeadCategory category)
includeCategory
in class jenkins.scm.api.trait.SCMSourceTrait
Copyright © 2018–2024. All rights reserved.