Package org.jenkinsci.plugins.p4.scm
Class BranchesScmSource
- 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.BranchesScmSource
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.SCMSource>
public class BranchesScmSource extends AbstractP4ScmSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BranchesScmSource.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 BranchesScmSource(String credential, String includes, String charset, String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description P4Browser
getBrowser()
List<P4SCMHead>
getHeads(TaskListener listener)
String
getMappings()
String
getPattern()
List<P4SCMHead>
getTags(TaskListener listener)
Workspace
getWorkspace(P4Path path)
void
setBrowser(P4Browser browser)
void
setMappings(String mappings)
void
setPattern(String pattern)
-
Methods inherited from class org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource
build, createProbe, findInclude, getCharset, getCredential, getExcludes, getFilter, getFormat, getIncludePaths, getIncludes, getPopulate, getProperty, getRevision, getRevision, getScanner, getScriptPathOrDefault, getTraits, isCategoryEnabled, 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, retrieve, retrieveRevisions, retrieveRevisions, setId, setOwner, toString, withId
-
-
-
-
Method Detail
-
setBrowser
@DataBoundSetter public void setBrowser(P4Browser browser)
-
setPattern
@DataBoundSetter public void setPattern(String pattern)
-
getPattern
public String getPattern()
-
getMappings
public String getMappings()
-
setMappings
@DataBoundSetter public void setMappings(String mappings)
-
getBrowser
public P4Browser getBrowser()
- Specified by:
getBrowser
in classAbstractP4ScmSource
-
getTags
public List<P4SCMHead> getTags(@NonNull TaskListener listener) throws Exception
- Specified by:
getTags
in classAbstractP4ScmSource
- Throws:
Exception
-
getHeads
public List<P4SCMHead> getHeads(@NonNull TaskListener listener) throws Exception
- Specified by:
getHeads
in classAbstractP4ScmSource
- Throws:
Exception
-
getWorkspace
public Workspace getWorkspace(P4Path path)
- Specified by:
getWorkspace
in classAbstractP4ScmSource
-
-