public class GlobalLibraryScmSource extends AbstractP4ScmSource
Modifier and Type | Class and Description |
---|---|
static class |
GlobalLibraryScmSource.DescriptorImpl |
credential, scmSourceClient
Constructor and Description |
---|
GlobalLibraryScmSource(String id,
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<P4Head> |
getHeads(hudson.model.TaskListener listener) |
String |
getPath() |
List<P4Head> |
getTags(hudson.model.TaskListener listener) |
Workspace |
getWorkspace(List<P4Path> paths) |
protected jenkins.scm.api.SCMRevision |
retrieve(String thingName,
hudson.model.TaskListener listener) |
getCharset, getCredential, getFormat, getIncludePaths, getIncludes, getPopulate, getRevision, retrieve, setCharset, setFormat, setIncludes, setPopulate
afterSave, build, canProbe, checkInterrupt, createProbe, defaultListener, equals, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchActions, fetchActions, fetchActions, fetchRevisions, fromSCMFileSystem, getCategories, getCriteria, getDescriptor, getId, getOwner, getPronoun, getTrustedRevision, hashCode, hasId, isCategoryEnabled, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveActions, retrieveActions, retrieveActions, 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<P4Head> getHeads(@NonNull hudson.model.TaskListener listener) throws Exception
getHeads
in class AbstractP4ScmSource
Exception
public List<P4Head> getTags(@NonNull hudson.model.TaskListener listener) throws Exception
getTags
in class AbstractP4ScmSource
Exception
public Workspace getWorkspace(List<P4Path> paths)
getWorkspace
in class AbstractP4ScmSource
public PerforceScm build(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
build
in class AbstractP4ScmSource
Copyright © 2016–2017. All rights reserved.