public class GlobalLibraryScmSource extends AbstractP4ScmSource
Modifier and Type | Class and Description |
---|---|
static class |
GlobalLibraryScmSource.DescriptorImpl |
credential
Constructor and Description |
---|
GlobalLibraryScmSource(String credential,
String charset,
String path) |
Modifier and Type | Method and Description |
---|---|
PerforceScm |
build(jenkins.scm.api.SCMHead head,
jenkins.scm.api.SCMRevision revision) |
P4Browser |
getBrowser() |
List<P4SCMHead> |
getHeads(hudson.model.TaskListener listener) |
String |
getPath() |
List<P4SCMHead> |
getTags(hudson.model.TaskListener listener) |
Workspace |
getWorkspace(P4Path path) |
protected jenkins.scm.api.SCMRevision |
retrieve(String thingName,
hudson.model.TaskListener listener) |
createProbe, findInclude, getCharset, getCredential, getFilter, getFormat, getIncludePaths, getIncludes, getPopulate, getProperty, getRevision, getRevision, getScanner, getScriptPathOrDefault, getTraits, isCategoryEnabled, retrieve, retrieveActions, retrieveActions, retrieveActions, setCharset, setFilter, setFormat, setIncludes, setPopulate, setTraits, toLines
afterSave, build, canProbe, checkInterrupt, defaultListener, equals, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchActions, fetchActions, fetchActions, fetchRevisions, fromSCMFileSystem, getCategories, getCriteria, getDescriptor, getId, getOwner, getPronoun, getTrustedRevision, hashCode, hasId, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveRevisions, setId, setOwner, toString, withId
public String getPath()
protected jenkins.scm.api.SCMRevision retrieve(@NonNull String thingName, @NonNull hudson.model.TaskListener listener) throws IOException, InterruptedException
retrieve
in class jenkins.scm.api.SCMSource
IOException
InterruptedException
public P4Browser getBrowser()
getBrowser
in class AbstractP4ScmSource
public List<P4SCMHead> getHeads(@NonNull hudson.model.TaskListener listener) throws Exception
getHeads
in class AbstractP4ScmSource
Exception
public List<P4SCMHead> getTags(@NonNull hudson.model.TaskListener listener) throws Exception
getTags
in class AbstractP4ScmSource
Exception
public PerforceScm build(@NonNull jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
build
in class AbstractP4ScmSource
public Workspace getWorkspace(P4Path path)
getWorkspace
in class AbstractP4ScmSource
Copyright © 2016–2021. All rights reserved.