public abstract class AbstractP4ScmSource
extends jenkins.scm.api.SCMSource
Modifier and Type | Field and Description |
---|---|
protected String |
credential |
static String |
scmSourceClient |
Constructor and Description |
---|
AbstractP4ScmSource(String id,
String credential,
String charset,
String format) |
Modifier and Type | Method and Description |
---|---|
PerforceScm |
build(jenkins.scm.api.SCMHead head,
jenkins.scm.api.SCMRevision revision) |
abstract P4Browser |
getBrowser() |
String |
getCharset() |
String |
getCredential() |
String |
getFormat() |
abstract List<P4Head> |
getHeads(hudson.model.TaskListener listener) |
protected List<String> |
getIncludePaths() |
String |
getIncludes() |
Populate |
getPopulate() |
P4Revision |
getRevision(P4Head head,
hudson.model.TaskListener listener) |
abstract List<P4ChangeRequestSCMHead> |
getTags(hudson.model.TaskListener listener) |
Workspace |
getWorkspace(List<String> paths) |
protected void |
retrieve(jenkins.scm.api.SCMSourceCriteria criteria,
jenkins.scm.api.SCMHeadObserver observer,
jenkins.scm.api.SCMHeadEvent<?> event,
hudson.model.TaskListener listener) |
void |
setIncludes(String includes) |
void |
setPopulate(Populate populate) |
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, isCategoryEnabled, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveActions, retrieveActions, retrieveActions, retrieveRevisions, setOwner, toString
public static final String scmSourceClient
protected final String credential
@DataBoundSetter public void setPopulate(Populate populate)
@DataBoundSetter public void setIncludes(String includes)
public String getCredential()
public String getIncludes()
public String getCharset()
public String getFormat()
public Populate getPopulate()
public abstract P4Browser getBrowser()
public abstract List<P4Head> getHeads(@NonNull hudson.model.TaskListener listener) throws Exception
Exception
public abstract List<P4ChangeRequestSCMHead> getTags(@NonNull hudson.model.TaskListener listener) throws Exception
Exception
public PerforceScm build(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
build
in class jenkins.scm.api.SCMSource
protected void retrieve(@CheckForNull jenkins.scm.api.SCMSourceCriteria criteria, @NonNull jenkins.scm.api.SCMHeadObserver observer, @CheckForNull jenkins.scm.api.SCMHeadEvent<?> event, @NonNull hudson.model.TaskListener listener) throws IOException, InterruptedException
retrieve
in class jenkins.scm.api.SCMSource
IOException
InterruptedException
public P4Revision getRevision(P4Head head, hudson.model.TaskListener listener) throws Exception
Exception
Copyright © 2016–2017. All rights reserved.