Package hudson.plugins.scm.koji
Class KojiSCM
java.lang.Object
hudson.scm.SCM
hudson.plugins.scm.koji.KojiSCM
- All Implemented Interfaces:
ExtensionPoint,Describable<SCM>,LoggerHelp,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.scm.SCM
PERMISSIONS, TAG -
Constructor Summary
ConstructorsConstructorDescriptionKojiSCM(Collection<KojiBuildProvider> kojiBuildProviders, KojiXmlRpcApi kojiXmlRpcApi, String downloadDir, boolean cleanDownloadDir, boolean dirPerNvr, int maxPreviousBuilds) -
Method Summary
Modifier and TypeMethodDescriptioncalcRevisionsFromBuild(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidcheckout(Run<?, ?> run, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline) compareRemoteRevisionWith(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) intbooleanbooleanstatic <T> List<T> iterableToList(Iterable<T> iterable) voidvoidvoidbooleanvoidsetCleanDownloadDir(boolean cleanDownloadDir) voidsetDirPerNvr(boolean dirPerNvr) voidsetDownloadDir(String downloadDir) voidsetMaxPreviousBuilds(int maxPreviousBuilds) booleantoString()Methods inherited from class hudson.scm.SCM
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion
-
Field Details
-
DESCRIPTOR
-
-
Constructor Details
-
KojiSCM
@DataBoundConstructor public KojiSCM(Collection<KojiBuildProvider> kojiBuildProviders, KojiXmlRpcApi kojiXmlRpcApi, String downloadDir, boolean cleanDownloadDir, boolean dirPerNvr, int maxPreviousBuilds)
-
-
Method Details
-
log
- Specified by:
login interfaceLoggerHelp
-
log
- Specified by:
login interfaceLoggerHelp
-
log
- Specified by:
login interfaceLoggerHelp
-
createChangeLogParser
- Specified by:
createChangeLogParserin classSCM
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<SCM>- Overrides:
getDescriptorin classSCM
-
iterableToList
-
checkout
public void checkout(Run<?, ?> run, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline) throws IOException, InterruptedException- Overrides:
checkoutin classSCM- Throws:
IOExceptionInterruptedException
-
compareRemoteRevisionWith
public PollingResult compareRemoteRevisionWith(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) throws IOException, InterruptedException- Overrides:
compareRemoteRevisionWithin classSCM- Throws:
IOExceptionInterruptedException
-
calcRevisionsFromBuild
public SCMRevisionState calcRevisionsFromBuild(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException- Overrides:
calcRevisionsFromBuildin classSCM- Throws:
IOExceptionInterruptedException
-
supportsPolling
public boolean supportsPolling()- Overrides:
supportsPollingin classSCM
-
requiresWorkspaceForPolling
public boolean requiresWorkspaceForPolling()- Overrides:
requiresWorkspaceForPollingin classSCM
-
getKojiBuildProviders
-
getKojiXmlRpcApi
-
getDownloadDir
-
setDownloadDir
-
isCleanDownloadDir
public boolean isCleanDownloadDir() -
setCleanDownloadDir
@DataBoundSetter public void setCleanDownloadDir(boolean cleanDownloadDir) -
isDirPerNvr
public boolean isDirPerNvr() -
setDirPerNvr
@DataBoundSetter public void setDirPerNvr(boolean dirPerNvr) -
getMaxPreviousBuilds
public int getMaxPreviousBuilds() -
setMaxPreviousBuilds
@DataBoundSetter public void setMaxPreviousBuilds(int maxPreviousBuilds) -
toString
-