public final class MercurialSCMSource extends jenkins.scm.api.SCMSource
Modifier and Type | Class and Description |
---|---|
static class |
MercurialSCMSource.DescriptorImpl |
static class |
MercurialSCMSource.MercurialRevision |
jenkins.scm.api.SCMSource.SourceByItem
ExtensionPoint.LegacyInstancesAreScopedToHudson
PRONOUN
Constructor and Description |
---|
MercurialSCMSource(String source) |
MercurialSCMSource(String id,
String source)
Deprecated.
|
MercurialSCMSource(String id,
String installation,
String source,
String credentialsId,
String branchPattern,
String modules,
String subdir,
HgBrowser browser,
boolean clean)
Deprecated.
|
afterSave, build, canProbe, checkInterrupt, createProbe, defaultListener, equals, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchActions, fetchActions, fetchActions, fetchRevisions, fetchRevisions, fromSCMFileSystem, getCategories, getCriteria, getDescriptor, getId, getOwner, getPronoun, getTrustedRevision, hashCode, hasId, isCategoryEnabled, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveActions, retrieveActions, retrieveRevisions, retrieveRevisions, setId, setOwner, toString, withId
@DataBoundConstructor public MercurialSCMSource(String source)
@Deprecated public MercurialSCMSource(String id, String source)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.0") public MercurialSCMSource(String id, String installation, String source, String credentialsId, String branchPattern, String modules, String subdir, HgBrowser browser, boolean clean)
@NonNull public String getSource()
@NonNull public List<jenkins.scm.api.trait.SCMSourceTrait> getTraits()
getTraits
in class jenkins.scm.api.SCMSource
@CheckForNull public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(@CheckForNull String credentialsId)
@DataBoundSetter public void setTraits(@CheckForNull List<jenkins.scm.api.trait.SCMSourceTrait> traits)
setTraits
in class jenkins.scm.api.SCMSource
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.0") public String getInstallation()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.0") public String getBranchPattern()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.0") public String getModules()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.0") public String getSubdir()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.0") public HgBrowser getBrowser()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.0") public boolean isClean()
protected void retrieve(@CheckForNull jenkins.scm.api.SCMSourceCriteria criteria, @NonNull jenkins.scm.api.SCMHeadObserver observer, @CheckForNull jenkins.scm.api.SCMHeadEvent<?> event, @NonNull TaskListener listener) throws IOException, InterruptedException
retrieve
in class jenkins.scm.api.SCMSource
IOException
InterruptedException
@CheckForNull protected jenkins.scm.api.SCMRevision retrieve(@NonNull String thingName, @NonNull TaskListener listener, @CheckForNull Item context) throws IOException, InterruptedException
retrieve
in class jenkins.scm.api.SCMSource
IOException
InterruptedException
@NonNull protected MercurialSCMBuilder<?> newBuilder(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMRevision revision)
protected void decorate(@NonNull MercurialSCMBuilder<?> builder)
@NonNull public SCM build(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMRevision revision)
build
in class jenkins.scm.api.SCMSource
@NonNull protected List<Action> retrieveActions(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMHeadEvent event, @NonNull TaskListener listener) throws IOException, InterruptedException
retrieveActions
in class jenkins.scm.api.SCMSource
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.