public abstract static class SCMFileSystem.Builder extends Object implements hudson.ExtensionPoint
SCMFileSystem classes for the same SCM
or SCMSource and let Jenkins pick the most capable for any specific SCM implementation.| Constructor and Description |
|---|
SCMFileSystem.Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract SCMFileSystem |
build(hudson.scm.SCM scm,
SCMRevision rev)
Given a
SCM this should try to build a corresponding SCMFileSystem instance that
reflects the content at the specified SCMRevision. |
SCMFileSystem |
build(SCMSource source,
SCMHead head,
SCMRevision rev)
Given a
SCMSource, a SCMHead and a SCMRevision this method should try to build a
corresponding SCMFileSystem instance that reflects the content of the specified SCMHead at
the specified SCMRevision. |
@CheckForNull public abstract SCMFileSystem build(@NonNull hudson.scm.SCM scm, @CheckForNull SCMRevision rev)
SCM this should try to build a corresponding SCMFileSystem instance that
reflects the content at the specified SCMRevision. If the SCM is supported but not
for a fixed revision, best effort is acceptable as the most capable SCMFileSystem will be returned
to the caller.scm - the SCM.rev - the specified SCMRevision.SCMFileSystem or null if this builder cannot create a SCMFileSystem for the specified SCM.@CheckForNull public SCMFileSystem build(@NonNull SCMSource source, @NonNull SCMHead head, @CheckForNull SCMRevision rev)
SCMSource, a SCMHead and a SCMRevision this method should try to build a
corresponding SCMFileSystem instance that reflects the content of the specified SCMHead at
the specified SCMRevision. If the SCMSource is supported but not for a fixed revision,
best effort is acceptable as the most capable SCMFileSystem will be returned
to the caller.source - the SCMSource.head - the specified SCMHead.rev - the specified SCMRevision.SCMFileSystem or null if there is none.Copyright © 2004-2013. All Rights Reserved.