Uses of Class
jenkins.scm.api.SCMHead
Packages that use SCMHead
Package
Description
The public API contract of the SCM API plugin.
Do not use.
The mix-in interfaces used by
SCMHead
implementations to advertise that a specific head is not just a regular branch but is actually a special type of
branch such as a change request /
tag / etc.An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations.The common implementations of classes in the public API.
-
Uses of SCMHead in jenkins.scm.api
Classes in jenkins.scm.api with type parameters of type SCMHeadModifier and TypeClassDescriptionclassSCMHeadMigration<S extends SCMSource,H extends SCMHead, R extends SCMRevision> Fields in jenkins.scm.api with type parameters of type SCMHeadModifier and TypeFieldDescriptionstatic final AlternativeUiTextProvider.Message<SCMHead>SCMHead.PRONOUNReplaceable pronoun of that points to aSCMHead.Methods in jenkins.scm.api that return SCMHeadModifier and TypeMethodDescriptionstatic SCMHeadRuns all registered implementations.abstract SCMHeadChecks whether a given item corresponds to a particular SCM head.final SCMHeadSCMRevision.getHead()Returns theSCMHeadthat thisSCMRevisionbelongs to.abstract SCMHeadPerform a migration.static SCMHeadSCMHeadMigration.readResolveSCMHead(SCMSource source, SCMHead head) Perform a migration.Methods in jenkins.scm.api that return types with arguments of type SCMHeadModifier and TypeMethodDescriptionSCMSource.fetch(TaskListener listener) Fetches the current list of heads.SCMHeadObserver.AllFinished.getIncludes()SCMHeadObserver.Filter.getIncludes()SCMHeadObserver.getIncludes()SCMHeadObserver.OneFinished.getIncludes()SCMHeadObserver.Selector.getIncludes()SCMHeadObserver.Wrapped.getIncludes()abstract Map<SCMHead,SCMRevision> SCMSource.parentHeads(SCMHead head, TaskListener listener) Looks up the immediate parent heads of the specified head within the specified source.SCMHeadObserver.Collector.result()Returns the collected results.SCMSource.retrieve(TaskListener listener) SPI: Fetches the current list of heads.SCMSource.retrieve(SCMSourceCriteria criteria, TaskListener listener) SPI: Fetches the current list of heads.Methods in jenkins.scm.api with parameters of type SCMHeadModifier and TypeMethodDescriptionSCMFileSystem.Builder.build(SCMSource source, SCMHead head, SCMRevision rev) Given aSCMSource, aSCMHeadand aSCMRevisionthis method should try to build a correspondingSCMFileSysteminstance that reflects the content of the specifiedSCMHeadat the specifiedSCMRevision.final SCMBuilds aSCMinstance for the specified head.abstract SCMSCMSource.build(SCMHead head, SCMRevision revision) Builds aSCMinstance for the specified head and revision, no validation of the head is performed, a revision for a different head or source will be treated as equivalent to anullrevision.intprotected SCMProbeSCMSource.createProbe(SCMHead head, SCMRevision revision) final SCMRevisionSCMSource.fetch(SCMHead head, TaskListener listener) Gets the current head revision of the specified head.SCMSource.fetchActions(SCMHead head, SCMHeadEvent event, TaskListener listener) Fetches any actions that should be persisted for objects related to the specified head.static <O extends SCMHeadObserver>
SCMHeadObserver.Filter<O>Creates an observer that filters a delegates observer to the specified headsprotected final SCMProbeSCMSource.fromSCMFileSystem(SCMHead head, SCMRevision revision) Helper method for subclasses that have implemented aSCMFileSystem.Builderand want to use a simple non-cachingSCMProbebased off of theSCMFileSystem.final SCMProbeSCMSource.newProbe(SCMHead head, SCMRevision revision) voidSCMHeadObserver.AllFinished.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.Any.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.Collector.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.Filter.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.Named.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.None.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.abstract voidSCMHeadObserver.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.OneFinished.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.Selector.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.voidSCMHeadObserver.Wrapped.observe(SCMHead head, SCMRevision revision) Observes a head and current revision.static SCMFileSystemGiven aSCMSourceand aSCMHeadthis method will try to retrieve a correspondingSCMFileSysteminstance that reflects the content of the specifiedSCMHead.static SCMFileSystemSCMFileSystem.of(SCMSource source, SCMHead head, SCMRevision rev) Given aSCMSource, aSCMHeadand aSCMRevisionthis method will try to retrieve a correspondingSCMFileSysteminstance that reflects the content of the specifiedSCMHeadat the specifiedSCMRevision.SCMSource.parentHeads(SCMHead head, TaskListener listener) Looks up the immediate parent heads of the specified head within the specified source.SCMSource.parentRevisions(SCMHead head, SCMRevision revision, TaskListener listener) Looks up the immediate parent revision(s) of the specified revision within the specified head.static SCMHeadSCMHeadMigration.readResolveSCMHead(SCMSource source, SCMHead head) Perform a migration.protected SCMRevisionSCMSource.retrieve(SCMHead head, TaskListener listener) SPI: Gets the current head revision of the specified head.SCMSource.retrieveActions(SCMHead head, SCMHeadEvent event, TaskListener listener) static SCMHeadObserver.SelectorCreates an observer that selects the revision of a specific head.Constructors in jenkins.scm.api with parameters of type SCMHead -
Uses of SCMHead in jenkins.scm.api.actions
Methods in jenkins.scm.api.actions that return SCMHead -
Uses of SCMHead in jenkins.scm.api.mixin
Classes in jenkins.scm.api.mixin with type parameters of type SCMHeadModifier and TypeClassDescriptionclassChangeRequestSCMRevision<H extends SCMHead & ChangeRequestSCMHead>Recommended base class for theSCMRevisionof aChangeRequestSCMHead.Methods in jenkins.scm.api.mixin that return SCMHead -
Uses of SCMHead in jenkins.scm.api.trait
Classes in jenkins.scm.api.trait with type parameters of type SCMHeadModifier and TypeInterfaceDescriptionstatic interfaceSCMSourceRequest.LazyRevisionLambda<H extends SCMHead,R extends SCMRevision, I> A lambda that will create theSCMRevisioninstance for a specificSCMHeadusing the intermediate value produced by aSCMSourceRequest.IntermediateLambda.static interfaceSCMSourceRequest.ProbeLambda<H extends SCMHead,I> A lambda that will create aSCMSourceCriteria.Probe(ideally aSCMProbebut for legacy code migration we useSCMSourceCriteria.Probe) for a specifiedSCMHeadand either aSCMRevisionor some other type created by aSCMSourceRequest.IntermediateLambda.static interfaceSCMSourceRequest.RevisionLambda<H extends SCMHead,R extends SCMRevision> A lambda that will create theSCMRevisioninstance for a specificSCMHead.static interfaceSCMSourceRequest.Witness<H extends SCMHead,R extends SCMRevision> Callback lambda to track the results ofSCMSourceRequest.process(SCMHead, IntermediateLambda, ProbeLambda, LazyRevisionLambda, Witness[])Methods in jenkins.scm.api.trait with type parameters of type SCMHeadModifier and TypeMethodDescriptionfinal <H extends SCMHead,I, R extends SCMRevision>
booleanSCMSourceRequest.process(H head, SCMSourceRequest.IntermediateLambda<I> intermediateFactory, SCMSourceRequest.ProbeLambda<H, I> probeFactory, SCMSourceRequest.LazyRevisionLambda<H, R, I> revisionFactory, SCMSourceRequest.Witness... witnesses) Processes a head in the context of the current request where an intermediary operation is required before theSCMRevisioncan be instantiated.final <H extends SCMHead,R extends SCMRevision>
booleanSCMSourceRequest.process(H head, SCMSourceRequest.RevisionLambda<H, R> revisionFactory, SCMSourceRequest.ProbeLambda<H, R> probeFactory, SCMSourceRequest.Witness... witnesses) Processes a head in the context of the current request.final <H extends SCMHead,R extends SCMRevision>
booleanSCMSourceRequest.process(H head, R revision, SCMSourceRequest.ProbeLambda<H, R> probeFactory, SCMSourceRequest.Witness... witnesses) Processes a head in the context of the current request.Methods in jenkins.scm.api.trait that return SCMHeadMethods in jenkins.scm.api.trait with parameters of type SCMHeadModifier and TypeMethodDescriptionfinal booleanSCMHeadAuthority.isApplicableTo(SCMHead head) Checks if this authority is relevant to the suppliedSCMHead.booleanSCMHeadAuthorityDescriptor.isApplicableToHead(SCMHead head) Checks if thisSCMHeadAuthorityDescriptoris applicable to the suppliedSCMHead.abstract booleanSCMHeadFilter.isExcluded(SCMSourceRequest request, SCMHead head) Checks if the suppliedSCMHeadis excluded from the specifiedSCMSourceRequest.abstract booleanSCMHeadPrefilter.isExcluded(SCMSource source, SCMHead head) final booleanSCMSourceRequest.isExcluded(SCMHead head) Tests if theSCMHeadis excluded from the request.final booleanSCMHeadAuthority.isTrusted(SCMSourceRequest request, SCMHead head) Checks if the suppliedSCMHeadis trusted in the context of the specifiedSCMSourceRequest.final booleanTests if theSCMHeadis trusted.final BReplace theSCMBuilder.head()with a newSCMHead.Constructors in jenkins.scm.api.trait with parameters of type SCMHeadModifierConstructorDescriptionSCMBuilder(Class<S> clazz, SCMHead head, SCMRevision revision) Constructor. -
Uses of SCMHead in jenkins.scm.impl
Methods in jenkins.scm.impl with parameters of type SCMHeadModifier and TypeMethodDescriptionNullSCMSource.build(SCMHead head, SCMRevision revision) Builds aSCMinstance for the specified head and revision, no validation of the head is performed, a revision for a different head or source will be treated as equivalent to anullrevision.SingleSCMSource.build(SCMHead head, SCMRevision revision) Builds aSCMinstance for the specified head and revision, no validation of the head is performed, a revision for a different head or source will be treated as equivalent to anullrevision.booleanChecks if the supplied instance is a match for thisSCMCategory.booleanChecks if the supplied instance is a match for thisSCMCategory.booleanChecks if the supplied instance is a match for thisSCMCategory.