public class SwarmScmSource extends AbstractP4ScmSource
Modifier and Type | Class and Description |
---|---|
static class |
SwarmScmSource.DescriptorImpl |
credential, scmSourceClient
Constructor and Description |
---|
SwarmScmSource(String id,
String credential,
String project,
String charset,
String format) |
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 |
getProject() |
P4Revision |
getRevision(P4Head head,
hudson.model.TaskListener listener) |
SwarmHelper |
getSwarm() |
List<P4Head> |
getTags(hudson.model.TaskListener listener) |
protected boolean |
isCategoryEnabled(jenkins.scm.api.SCMHeadCategory category) |
getCharset, getCredential, getFormat, getIncludePaths, getIncludes, getPopulate, getWorkspace, 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, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveActions, retrieveActions, retrieveActions, retrieveRevisions, setId, setOwner, toString, withId
public String getProject()
public SwarmHelper getSwarm() throws Exception
Exception
public P4Browser getBrowser()
getBrowser
in class AbstractP4ScmSource
public List<P4Head> getTags(@NonNull hudson.model.TaskListener listener) throws Exception
getTags
in class AbstractP4ScmSource
Exception
public List<P4Head> getHeads(@NonNull hudson.model.TaskListener listener) throws Exception
getHeads
in class AbstractP4ScmSource
Exception
public P4Revision getRevision(P4Head head, hudson.model.TaskListener listener) throws Exception
getRevision
in class AbstractP4ScmSource
Exception
public PerforceScm build(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
build
in class AbstractP4ScmSource
protected boolean isCategoryEnabled(@NonNull jenkins.scm.api.SCMHeadCategory category)
isCategoryEnabled
in class jenkins.scm.api.SCMSource
Copyright © 2016–2017. All rights reserved.