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,
String projectName)
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, retrieveRevisionsafterSave, 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, withIdpublic 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, String projectName) 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.AbstractGitSCMSourceIOExceptionInterruptedExceptionprotected 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.AbstractGitSCMSourceIOExceptionInterruptedException@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.AbstractGitSCMSourceIOExceptionInterruptedException@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.AbstractGitSCMSourceIOExceptionInterruptedException@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
IOExceptionInterruptedExceptionprotected GerritChecksApi createGerritChecksApi(@Nonnull hudson.model.TaskListener listener, GerritURI remoteUri) throws IOException
IOExceptionpublic GerritURI getGerritURI() throws IOException
IOExceptionprotected boolean isCategoryEnabled(@Nonnull jenkins.scm.api.SCMHeadCategory category)
isCategoryEnabled in class jenkins.scm.api.SCMSourceprotected void decorate(jenkins.plugins.git.GitSCMBuilder<?> builder)
decorate in class jenkins.plugins.git.AbstractGitSCMSourceCopyright © 2018–2025. All rights reserved.