public abstract class AbstractGerritSCMSource
extends jenkins.plugins.git.AbstractGitSCMSource
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractGerritSCMSource.Retriever<T> |
jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl, jenkins.plugins.git.AbstractGitSCMSource.SpecificRevisionBuildChooser
Modifier and Type | Field and Description |
---|---|
static String |
OPEN_CHANGES_FILTER |
static String |
R_CHANGES |
Constructor and Description |
---|
AbstractGerritSCMSource() |
Modifier and Type | Method and Description |
---|---|
protected GerritChecksApi |
createGerritChecksApi(hudson.model.TaskListener listener,
GerritURI remoteUri) |
protected void |
decorate(jenkins.plugins.git.GitSCMBuilder<?> builder) |
protected <T,C extends GerritSCMSourceContext,R extends GerritSCMSourceRequest> |
doRetrieve(jenkins.scm.api.SCMHead head,
AbstractGerritSCMSource.Retriever<T> retriever,
C context,
hudson.model.TaskListener listener,
boolean prune) |
Optional<com.google.gerrit.extensions.common.ChangeInfo> |
getChangeInfo(int changeNum)
Return the Gerrit change information associated with a change number
|
GerritURI |
getGerritURI() |
Boolean |
getInsecureHttps() |
protected boolean |
isCategoryEnabled(jenkins.scm.api.SCMHeadCategory category) |
protected jenkins.scm.api.SCMRevision |
retrieve(jenkins.scm.api.SCMHead head,
hudson.model.TaskListener listener) |
protected void |
retrieve(jenkins.scm.api.SCMSourceCriteria criteria,
jenkins.scm.api.SCMHeadObserver observer,
jenkins.scm.api.SCMHeadEvent<?> event,
hudson.model.TaskListener listener) |
protected List<hudson.model.Action> |
retrieveActions(jenkins.scm.api.SCMHead head,
jenkins.scm.api.SCMHeadEvent event,
hudson.model.TaskListener listener) |
protected List<hudson.model.Action> |
retrieveActions(jenkins.scm.api.SCMSourceEvent event,
hudson.model.TaskListener listener) |
build, getBrowser, getCacheDir, getCacheEntry, getCacheLock, getCredentials, getCredentialsId, getExcludes, getExtensions, getGitTool, getIncludes, getRefSpecs, getRemote, getRemoteConfigs, getRemoteName, getTraits, isExcluded, newBuilder, resolveGitTool, resolveGitTool, retrieve, retrieveRevisions
afterSave, build, canProbe, checkInterrupt, createProbe, defaultListener, equals, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchActions, fetchActions, fetchActions, fetchRevisions, fromSCMFileSystem, getCategories, getCriteria, getDescriptor, getId, getOwner, getPronoun, getTrustedRevision, hashCode, hasId, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieveActions, setId, setOwner, toString, withId
public static final String R_CHANGES
public static final String OPEN_CHANGES_FILTER
public Boolean getInsecureHttps()
public Optional<com.google.gerrit.extensions.common.ChangeInfo> getChangeInfo(int changeNum) throws IOException
IOException
@CheckForNull protected jenkins.scm.api.SCMRevision retrieve(@NonNull jenkins.scm.api.SCMHead head, @NonNull hudson.model.TaskListener listener) throws IOException, InterruptedException
retrieve
in class jenkins.plugins.git.AbstractGitSCMSource
IOException
InterruptedException
protected void retrieve(@CheckForNull jenkins.scm.api.SCMSourceCriteria criteria, @Nonnull jenkins.scm.api.SCMHeadObserver observer, @CheckForNull jenkins.scm.api.SCMHeadEvent<?> event, @Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
retrieve
in class jenkins.plugins.git.AbstractGitSCMSource
IOException
InterruptedException
@Nonnull protected List<hudson.model.Action> retrieveActions(@CheckForNull jenkins.scm.api.SCMSourceEvent event, @Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
retrieveActions
in class jenkins.plugins.git.AbstractGitSCMSource
IOException
InterruptedException
@NonNull protected List<hudson.model.Action> retrieveActions(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMHeadEvent event, @NonNull hudson.model.TaskListener listener) throws IOException, InterruptedException
retrieveActions
in class jenkins.plugins.git.AbstractGitSCMSource
IOException
InterruptedException
@Nonnull protected <T,C extends GerritSCMSourceContext,R extends GerritSCMSourceRequest> T doRetrieve(jenkins.scm.api.SCMHead head, AbstractGerritSCMSource.Retriever<T> retriever, @Nonnull C context, @Nonnull hudson.model.TaskListener listener, boolean prune) throws IOException, InterruptedException
IOException
InterruptedException
protected GerritChecksApi createGerritChecksApi(@Nonnull hudson.model.TaskListener listener, GerritURI remoteUri) throws IOException
IOException
public GerritURI getGerritURI() throws IOException
IOException
protected boolean isCategoryEnabled(@Nonnull jenkins.scm.api.SCMHeadCategory category)
isCategoryEnabled
in class jenkins.scm.api.SCMSource
protected void decorate(jenkins.plugins.git.GitSCMBuilder<?> builder)
decorate
in class jenkins.plugins.git.AbstractGitSCMSource
Copyright © 2018–2024. All rights reserved.