Package org.jenkinsci.plugins.p4.scm
Class GlobalLibraryScmSource
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<jenkins.scm.api.SCMSource>
-
- jenkins.scm.api.SCMSource
-
- org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource
-
- org.jenkinsci.plugins.p4.scm.GlobalLibraryScmSource
-
- All Implemented Interfaces:
ExtensionPoint,Describable<jenkins.scm.api.SCMSource>
public class GlobalLibraryScmSource extends AbstractP4ScmSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGlobalLibraryScmSource.DescriptorImpl-
Nested classes/interfaces inherited from class jenkins.scm.api.SCMSource
jenkins.scm.api.SCMSource.SourceByItem
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource
credential, defaultExcludes
-
-
Constructor Summary
Constructors Constructor Description GlobalLibraryScmSource(String credential, String charset, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerforceScmbuild(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)P4BrowsergetBrowser()List<P4SCMHead>getHeads(TaskListener listener)StringgetPath()List<P4SCMHead>getTags(TaskListener listener)WorkspacegetWorkspace(P4Path path)protected jenkins.scm.api.SCMRevisionretrieve(String thingName, TaskListener listener)-
Methods inherited from class org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource
createProbe, findInclude, getCharset, getCredential, getExcludes, getFilter, getFormat, getIncludePaths, getIncludes, getPopulate, getProperty, getRevision, getRevision, getScanner, getScriptPathOrDefault, getTraits, isCategoryEnabled, pathContainsFolderPropertyVar, retrieve, retrieveActions, retrieveActions, retrieveActions, setCharset, setExcludes, setFilter, setFormat, setIncludes, setPopulate, setTraits, toLines
-
Methods inherited from class jenkins.scm.api.SCMSource
afterSave, build, canProbe, checkInterrupt, 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, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveRevisions, retrieveRevisions, setId, setOwner, toString, withId
-
-
-
-
Method Detail
-
getPath
public String getPath()
-
retrieve
protected jenkins.scm.api.SCMRevision retrieve(@NonNull String thingName, @NonNull TaskListener listener) throws IOException, InterruptedException- Overrides:
retrievein classjenkins.scm.api.SCMSource- Throws:
IOExceptionInterruptedException
-
getBrowser
public P4Browser getBrowser()
- Specified by:
getBrowserin classAbstractP4ScmSource
-
getHeads
public List<P4SCMHead> getHeads(@NonNull TaskListener listener) throws Exception
- Specified by:
getHeadsin classAbstractP4ScmSource- Throws:
Exception
-
getTags
public List<P4SCMHead> getTags(@NonNull TaskListener listener) throws Exception
- Specified by:
getTagsin classAbstractP4ScmSource- Throws:
Exception
-
build
public PerforceScm build(@NonNull jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
- Overrides:
buildin classAbstractP4ScmSource
-
getWorkspace
public Workspace getWorkspace(P4Path path)
- Specified by:
getWorkspacein classAbstractP4ScmSource
-
-