Package hudson.plugins.mercurial
Class MercurialSCMSource
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSource
hudson.plugins.mercurial.MercurialSCMSource
- All Implemented Interfaces:
ExtensionPoint,Describable<jenkins.scm.api.SCMSource>
public final class MercurialSCMSource
extends jenkins.scm.api.SCMSource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from class jenkins.scm.api.SCMSource
jenkins.scm.api.SCMSource.SourceByItemNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class jenkins.scm.api.SCMSource
PRONOUN -
Constructor Summary
ConstructorsConstructorDescriptionMercurialSCMSource(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. -
Method Summary
Modifier and TypeMethodDescriptionbuild(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision) protected voiddecorate(MercurialSCMBuilder<?> builder) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.List<jenkins.scm.api.trait.SCMSourceTrait>booleanisClean()Deprecated.protected MercurialSCMBuilder<?>newBuilder(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision) protected jenkins.scm.api.SCMRevisionretrieve(String thingName, TaskListener listener, Item context) protected voidretrieve(jenkins.scm.api.SCMSourceCriteria criteria, jenkins.scm.api.SCMHeadObserver observer, jenkins.scm.api.SCMHeadEvent<?> event, TaskListener listener) retrieveActions(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMHeadEvent event, TaskListener listener) voidsetCredentialsId(String credentialsId) voidMethods inherited from class jenkins.scm.api.SCMSource
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
-
Constructor Details
-
MercurialSCMSource
-
MercurialSCMSource
Deprecated. -
MercurialSCMSource
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.0") public MercurialSCMSource(String id, String installation, String source, String credentialsId, String branchPattern, String modules, String subdir, HgBrowser browser, boolean clean) Deprecated.
-
-
Method Details
-
getSource
-
getTraits
- Overrides:
getTraitsin classjenkins.scm.api.SCMSource
-
getCredentialsId
-
setCredentialsId
-
setTraits
@DataBoundSetter public void setTraits(@CheckForNull List<jenkins.scm.api.trait.SCMSourceTrait> traits) - Overrides:
setTraitsin classjenkins.scm.api.SCMSource
-
getInstallation
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.0") public String getInstallation()Deprecated. -
getBranchPattern
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.0") public String getBranchPattern()Deprecated. -
getModules
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.0") public String getModules()Deprecated. -
getSubdir
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.0") public String getSubdir()Deprecated. -
getBrowser
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.0") public HgBrowser getBrowser()Deprecated. -
isClean
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.0") public boolean isClean()Deprecated. -
retrieve
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 - Specified by:
retrievein classjenkins.scm.api.SCMSource- Throws:
IOExceptionInterruptedException
-
retrieve
@CheckForNull protected jenkins.scm.api.SCMRevision retrieve(@NonNull String thingName, @NonNull TaskListener listener, @CheckForNull Item context) throws IOException, InterruptedException - Overrides:
retrievein classjenkins.scm.api.SCMSource- Throws:
IOExceptionInterruptedException
-
newBuilder
@NonNull protected MercurialSCMBuilder<?> newBuilder(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMRevision revision) -
decorate
-
build
@NonNull public SCM build(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMRevision revision) - Specified by:
buildin classjenkins.scm.api.SCMSource
-
retrieveActions
@NonNull protected List<Action> retrieveActions(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMHeadEvent event, @NonNull TaskListener listener) throws IOException, InterruptedException - Overrides:
retrieveActionsin classjenkins.scm.api.SCMSource- Throws:
IOExceptionInterruptedException
-